function LayoutSectionItem::mainPropertyName

Same name and namespace in other branches
  1. 9 core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::mainPropertyName()
  2. 8.9.x core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::mainPropertyName()
  3. 11.x core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php \Drupal\layout_builder\Plugin\Field\FieldType\LayoutSectionItem::mainPropertyName()

Overrides FieldItemBase::mainPropertyName

File

core/modules/layout_builder/src/Plugin/Field/FieldType/LayoutSectionItem.php, line 58

Class

LayoutSectionItem
Plugin implementation of the 'layout_section' field type.

Namespace

Drupal\layout_builder\Plugin\Field\FieldType

Code

public static function mainPropertyName() {
    return 'section';
}

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