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
1 2 3 4 | protected function getFieldDefinition( $field_name ) { $definitions = $this ->getFieldDefinitions(); return isset( $definitions [ $field_name ]) ? $definitions [ $field_name ] : NULL; } |
Please login to continue.