You are here

private function LayoutEntityHelperTrait::sectionStorageManager in Drupal 8

Same name and namespace in other branches
  1. 9 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 177

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');
}