You are here

protected function Section::layoutPluginManager in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::layoutPluginManager()
  2. 9 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::layoutPluginManager()

Wraps the layout plugin manager.

Return value

\Drupal\Core\Layout\LayoutPluginManagerInterface The layout plugin manager.

2 calls to Section::layoutPluginManager()
Section::getDefaultRegion in core/modules/layout_builder/src/Section.php
Gets the default region.
Section::getLayout in core/modules/layout_builder/src/Section.php
Gets the layout plugin for this section.

File

core/modules/layout_builder/src/Section.php, line 337

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

protected function layoutPluginManager() {
  return \Drupal::service('plugin.manager.core.layout');
}