You are here

private function PluginHelperTrait::sectionStorageManager in Layout Builder Restrictions 8.2

Gets the section storage manager.

Return value

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

1 call to PluginHelperTrait::sectionStorageManager()
PluginHelperTrait::getBlockDefinitions in src/Traits/PluginHelperTrait.php
Gets block definitions appropriate for an entity display.

File

src/Traits/PluginHelperTrait.php, line 337

Class

PluginHelperTrait
Methods to help Layout Builder Restrictions plugins.

Namespace

Drupal\layout_builder_restrictions\Traits

Code

private function sectionStorageManager() {
  return $this->sectionStorageManager ?? \Drupal::service('plugin.manager.layout_builder.section_storage');
}