function RealisticDummyContentImageField::GetExtensions in Realistic Dummy Content 7
Get acceptable file extensions which contain data for this attribute.
For example, title attributes can be replaced by data in txt files, whereas as picture and field_image attributes require png, jpg, gif.
Return value
An array of acceptable file extensions.
Overrides RealisticDummyContentAttribute::GetExtensions
File
- api/
includes/ RealisticDummyContentImageField.inc, line 16 - Define RealisticDummyContentImageField autoload class.
Class
- RealisticDummyContentImageField
- Field modifier for image fields.
Code
function GetExtensions() {
return $this
->GetImageExtensions();
}