Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. SectionComponent.php

function 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_builder

Code

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');
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal