plugin.manager.block

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

Class

Drupal\Core\Block\BlockManager
23 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.
BlockBaseTest::testContextMapping in core/tests/Drupal/KernelTests/Core/Block/BlockBaseTest.php
Tests that blocks config form have context mapping, and it is stored in configuration.
BlockComponentRenderArrayTest::setUp in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockConfigSchemaTest::setUp in core/modules/block/tests/src/Kernel/BlockConfigSchemaTest.php

... 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.