protected function SectionComponent::pluginManager in Drupal 8
Same name and namespace in other branches
- 9 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');
}