You are here

abstract function RealisticDummyContentAttribute::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'

2 methods override RealisticDummyContentAttribute::GetType()
RealisticDummyContentField::GetType in api/includes/RealisticDummyContentField.inc
Returns the type of this attribute.
RealisticDummyContentProperty::GetType in api/includes/RealisticDummyContentProperty.inc
Returns the type of this attribute.

File

api/includes/RealisticDummyContentAttribute.inc, line 118
Define RealisticDummyContentAttribute autoload class.

Class

RealisticDummyContentAttribute
Represents either a field or a property for an entity.

Code

abstract function GetType();