function FieldItemDataDefinition::getFieldDefinition
Gets the field item's field definition.
Return value
\Drupal\Core\Field\FieldDefinitionInterface The field definition for this field item.
Overrides FieldItemDataDefinitionInterface::getFieldDefinition
File
-
core/
lib/ Drupal/ Core/ Field/ TypedData/ FieldItemDataDefinition.php, line 78
Class
- FieldItemDataDefinition
- A typed data definition class for defining field items.
Namespace
Drupal\Core\Field\TypedDataCode
public function getFieldDefinition() {
return $this->fieldDefinition;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.