FieldBlock::$fieldDefinition
Same name in other branches
- 8.9.x core/modules/layout_builder/src/Plugin/Block/FieldBlock.php \Drupal\layout_builder\Plugin\Block\FieldBlock::fieldDefinition
- 10 core/modules/layout_builder/src/Plugin/Block/FieldBlock.php \Drupal\layout_builder\Plugin\Block\FieldBlock::fieldDefinition
- 11.x core/modules/layout_builder/src/Plugin/Block/FieldBlock.php \Drupal\layout_builder\Plugin\Block\FieldBlock::fieldDefinition
The field definition.
Type: \Drupal\Core\Field\FieldDefinitionInterface
File
-
core/
modules/ layout_builder/ src/ Plugin/ Block/ FieldBlock.php, line 80
Class
- FieldBlock
- Provides a block that renders a field from an entity.
Namespace
Drupal\layout_builder\Plugin\BlockCode
protected $fieldDefinition;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.