function LayoutBuilderEntityViewDisplay::getSections

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php \Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay::getSections()
  2. 10 core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php \Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay::getSections()
  3. 11.x core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php \Drupal\layout_builder\Entity\LayoutBuilderEntityViewDisplay::getSections()

Overrides SectionListInterface::getSections

3 calls to LayoutBuilderEntityViewDisplay::getSections()
LayoutBuilderEntityViewDisplay::calculateDependencies in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Calculates dependencies and stores them in the dependency property.
LayoutBuilderEntityViewDisplay::getSectionComponentForFieldName in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Gets the component for a given field name if any.
LayoutBuilderEntityViewDisplay::onDependencyRemoval in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Informs the entity that entities it depends on will be deleted.

File

core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php, line 102

Class

LayoutBuilderEntityViewDisplay
Provides an entity view display entity that has a layout.

Namespace

Drupal\layout_builder\Entity

Code

public function getSections() {
    return $this->getThirdPartySetting('layout_builder', 'sections', []);
}

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