FieldItemBase::getFieldDefinition

public FieldItemBase::getFieldDefinition()

Gets the field definition.

Return value

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

Overrides FieldItemInterface::getFieldDefinition

File

core/lib/Drupal/Core/Field/FieldItemBase.php, line 74

Class

FieldItemBase
An entity field item.

Namespace

Drupal\Core\Field

Code

public function getFieldDefinition() {
  return $this->definition->getFieldDefinition();
}
doc_Drupal
2016-10-29 09:11:37
Comments
Leave a Comment

Please login to continue.