function RealisticDummyContentAttribute::GetImageExtensions in Realistic Dummy Content 7
Return acceptable image file extensions.
Return value
An array of extension for image files.
3 calls to RealisticDummyContentAttribute::GetImageExtensions()
- RealisticDummyContentAttribute::ImageSave in api/
includes/ RealisticDummyContentAttribute.inc - Return an image file object if possible.
- RealisticDummyContentImageField::GetExtensions in api/
includes/ RealisticDummyContentImageField.inc - Get acceptable file extensions which contain data for this attribute.
- RealisticDummyContentUserPicture::GetExtensions in api/
includes/ RealisticDummyContentUserPicture.inc - Get acceptable file extensions which contain data for this attribute.
File
- api/
includes/ RealisticDummyContentAttribute.inc, line 256 - Define RealisticDummyContentAttribute autoload class.
Class
- RealisticDummyContentAttribute
- Represents either a field or a property for an entity.
Code
function GetImageExtensions() {
return array(
'gif',
'png',
'jpg',
);
}