protected EntityDisplayBase::getFieldDefinition($field_name)
Gets the field definition of a field.
File
- core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 377
Class
- EntityDisplayBase
- Provides a common base class for entity view and form displays.
Namespace
Drupal\Core\Entity
Code
protected function getFieldDefinition($field_name) { $definitions = $this->getFieldDefinitions(); return isset($definitions[$field_name]) ? $definitions[$field_name] : NULL; }
Please login to continue.