plugin.manager.block

Same name in other branches
  1. 8.9.x core/core.services.yml \plugin.manager.block
  2. 10 core/core.services.yml \plugin.manager.block

Class

Drupal\Core\Block\BlockManager
18 string references to plugin.manager.block
Block::create in core/modules/views/src/Plugin/views/display/Block.php
Creates an instance of the plugin.
Block::getPluginCollection in core/modules/block/src/Entity/Block.php
Encapsulates the creation of the block's LazyPluginCollection.
BlockComponentRenderArrayTest::setUp in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockConfigSchemaTest::setUp in core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php
BlockContentBlock::create in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Creates an instance of the plugin.

... See full list

File

core/core.services.yml

View source
  1. class: Drupal\Core\Block\BlockManager
  2. parent: default_plugin_manager
  3. arguments:
  4. - '@logger.channel.default'

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