You are here

public function RealisticDummyContentAttribute::getTextExtensions in Realistic Dummy Content 7.2

Same name and namespace in other branches
  1. 8.2 api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getTextExtensions()
  2. 3.x api/src/includes/RealisticDummyContentAttribute.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentAttribute::getTextExtensions()

Return acceptable text file extensions.

Return value

array An array of extension for text files.

File

api/src/includes/RealisticDummyContentAttribute.php, line 271

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Namespace

Drupal\realistic_dummy_content_api\includes

Code

public function getTextExtensions() {
  return array(
    'txt',
  );
}