function LayoutBuilderEntityViewDisplay::sectionStorageManager

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

Gets the section storage manager.

Return value

\Drupal\layout_builder\SectionStorage\SectionStorageManagerInterface The section storage manager.

Overrides LayoutEntityHelperTrait::sectionStorageManager

File

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

Class

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

Namespace

Drupal\layout_builder\Entity

Code

private function sectionStorageManager() {
    return \Drupal::service('plugin.manager.layout_builder.section_storage');
}

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