You are here

private function LayoutEntityHelperTrait::sectionStorageManager in Drupal 9

Same name and namespace in other branches
  1. 8 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');
}