function 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 
- 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 70 
Class
- FieldItemList
- Represents an entity field; that is, a list of field item objects.
Namespace
Drupal\Core\FieldCode
public function getFieldDefinition() {
  return $this->definition;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
