You are here

function RealisticDummyContentUserPicture::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/RealisticDummyContentUserPicture.inc, line 16
Define RealisticDummyContentUserPicture autoload class.

Class

RealisticDummyContentUserPicture
Represents the user picture

Code

function GetExtensions() {
  return $this
    ->GetImageExtensions();
}