FormatterBase::$fieldDefinition

Same name in other branches
  1. 9 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::fieldDefinition
  2. 10 core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::fieldDefinition
  3. 11.x core/lib/Drupal/Core/Field/FormatterBase.php \Drupal\Core\Field\FormatterBase::fieldDefinition

The field definition.

Type: \Drupal\Core\Field\FieldDefinitionInterface

File

core/lib/Drupal/Core/Field/FormatterBase.php, line 23

Class

FormatterBase
Base class for 'Field formatter' plugin implementations.

Namespace

Drupal\Core\Field

Code

protected $fieldDefinition;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.