function SectionComponent::pluginManager
Same name in other branches
- 9 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::pluginManager()
- 10 core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::pluginManager()
- 11.x core/modules/layout_builder/src/SectionComponent.php \Drupal\layout_builder\SectionComponent::pluginManager()
Wraps the component plugin manager.
Return value
\Drupal\Core\Block\BlockManagerInterface The plugin manager.
File
-
core/
modules/ layout_builder/ src/ SectionComponent.php, line 256
Class
- SectionComponent
- Provides a value object for a section component.
Namespace
Drupal\layout_builderCode
protected function pluginManager() {
// @todo Figure out the best way to unify fields and blocks and components
// in https://www.drupal.org/node/1875974.
return \Drupal::service('plugin.manager.block');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.