You are here

public function FieldItemList::getFieldDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()

Gets the field definition.

Return value

\Drupal\Core\Field\FieldDefinitionInterface The field definition.

Overrides FieldItemListInterface::getFieldDefinition

3 calls to FieldItemList::getFieldDefinition()
FieldItemList::access in core/lib/Drupal/Core/Field/FieldItemList.php
Checks data value access.
FieldItemList::defaultValueWidget in core/lib/Drupal/Core/Field/FieldItemList.php
Returns the widget object used in default value form.
FieldItemList::generateSampleItems in core/lib/Drupal/Core/Field/FieldItemList.php

File

core/lib/Drupal/Core/Field/FieldItemList.php, line 74
Contains \Drupal\Core\Field\FieldItemList.

Class

FieldItemList
Represents an entity field; that is, a list of field item objects.

Namespace

Drupal\Core\Field

Code

public function getFieldDefinition() {
  return $this->definition;
}