function LayoutSectionItem::isEmpty

Overrides Map::isEmpty

File

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

Class

LayoutSectionItem
Plugin implementation of the 'layout_section' field type.

Namespace

Drupal\layout_builder\Plugin\Field\FieldType

Code

public function isEmpty() {
  return empty($this->section);
}

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