function FieldItemList::getFieldDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()
  2. 10 core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()
  3. 11.x core/lib/Drupal/Core/Field/FieldItemList.php \Drupal\Core\Field\FieldItemList::getFieldDefinition()

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
Populates a specified number of field items with valid sample data.

File

core/lib/Drupal/Core/Field/FieldItemList.php, line 70

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.