public function RealisticDummyContentImageField::getExtensions in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentImageField.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentImageField::getExtensions()
- 3.x api/src/includes/RealisticDummyContentImageField.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentImageField::getExtensions()
Get acceptable file extensions which contain data for this attribute.
For example, title attributes can be replaced by data in txt files, whereas picture and field_image attributes require png, jpg, gif.
Return value
array An array of acceptable file extensions.
Overrides RealisticDummyContentAttribute::getExtensions
File
- api/
src/ includes/ RealisticDummyContentImageField.php, line 15
Class
- RealisticDummyContentImageField
- Field modifier for image fields.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function getExtensions() {
return $this
->getImageExtensions();
}