You are here

function Field::GetType in Realistic Dummy Content 8

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_config'

Overrides Attribute::GetType

File

api/src/attributes/Field.php, line 16
Define autoload class.

Class

Field
Represents fields like body or field_image.

Namespace

Drupal\realistic_dummy_content_api\attributes

Code

function GetType() {
  return 'field_config';
}