You are here

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

Class

RealisticDummyContentProperty
Represents properties like the user picture or node titles.

Code

function GetType() {
  return 'property';
}