function Section::layoutPluginManager

Same name in other branches
  1. 8.9.x core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::layoutPluginManager()
  2. 10 core/modules/layout_builder/src/Section.php \Drupal\layout_builder\Section::layoutPluginManager()
  3. 11.x 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.

File

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

Class

Section
Provides a domain object for layout sections.

Namespace

Drupal\layout_builder

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.