function LayoutEntityHelperTrait::sectionStorageManager

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

Gets the section storage manager.

Return value

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

1 method overrides LayoutEntityHelperTrait::sectionStorageManager()
LayoutBuilderEntityViewDisplay::sectionStorageManager in core/modules/layout_builder/src/Entity/LayoutBuilderEntityViewDisplay.php
Gets the section storage manager.

File

core/modules/layout_builder/src/LayoutEntityHelperTrait.php, line 154

Class

LayoutEntityHelperTrait
Methods to help with entities using the layout builder.

Namespace

Drupal\layout_builder

Code

private function sectionStorageManager() {
    return $this->sectionStorageManager ?: \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.