function LayoutSectionItem::__get
Same name in other branches
- 9 core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::__get()
- 10 core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::__get()
- 11.x core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::__get()
Overrides FieldItemBase::__get
File
-
core/
modules/ layout_builder/ src/ Plugin/ Field/ FieldType/ LayoutSectionItem.php, line 45
Class
- LayoutSectionItem
- Plugin implementation of the 'layout_section' field type.
Namespace
Drupal\layout_builder\Plugin\Field\FieldTypeCode
public function __get($name) {
// @todo \Drupal\Core\Field\FieldItemBase::__get() does not return default
// values for uninstantiated properties. This will forcibly instantiate
// all properties with the side-effect of a performance hit, resolve
// properly in https://www.drupal.org/node/2413471.
$this->getProperties();
return parent::__get($name);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.