public function RealisticDummyContentUserPicture::getExtensions in Realistic Dummy Content 7.2
Same name and namespace in other branches
- 8.2 api/src/includes/RealisticDummyContentUserPicture.php \Drupal\realistic_dummy_content_api\includes\RealisticDummyContentUserPicture::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/ RealisticDummyContentUserPicture.php, line 13
Class
- RealisticDummyContentUserPicture
- Represents the user picture.
Namespace
Drupal\realistic_dummy_content_api\includesCode
public function getExtensions() {
return $this
->getImageExtensions();
}