You are here

function RealisticDummyContentField::GetType in Realistic Dummy Content 7

Returns the type of this attribute.

Drupal uses fields (managed by the field system) and properties to define attributes of entities. Fields include body and field_image; properties include title and the user picture.

Return value

'property' or 'field'

Overrides RealisticDummyContentAttribute::GetType

File

api/includes/RealisticDummyContentField.inc, line 13
Define RealisticDummyContentField autoload class.

Class

RealisticDummyContentField
Represents fields like body or field_image.

Code

function GetType() {
  return 'field';
}