protected BaseFieldOverride::getBaseFieldDefinition()
Gets the base field definition.
Return value
\Drupal\Core\Field\BaseFieldDefinition
File
- core/lib/Drupal/Core/Field/Entity/BaseFieldOverride.php, line 149
Class
- BaseFieldOverride
- Defines the base field override entity.
Namespace
Drupal\Core\Field\Entity
Code
protected function getBaseFieldDefinition() { if (!isset($this->baseFieldDefinition)) { $fields = $this->entityManager()->getBaseFieldDefinitions($this->entity_type); $this->baseFieldDefinition = $fields[$this->getName()]; } return $this->baseFieldDefinition; }
Please login to continue.