You are here

interface BlockManagerInterface in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Block/BlockManagerInterface.php \Drupal\Core\Block\BlockManagerInterface

Provides an interface for the discovery and instantiation of block plugins.

Hierarchy

Expanded class hierarchy of BlockManagerInterface

All classes that implement BlockManagerInterface

10 files declare their use of BlockManagerInterface
Block.php in core/modules/views/src/Plugin/views/display/Block.php
BlockComponentRenderArrayTest.php in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
BlockContentBlock.php in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
BlockLibraryController.php in core/modules/block/src/Controller/BlockLibraryController.php
CategoryAutocompleteController.php in core/modules/block/src/Controller/CategoryAutocompleteController.php

... See full list

File

core/lib/Drupal/Core/Block/BlockManagerInterface.php, line 12

Namespace

Drupal\Core\Block
View source
interface BlockManagerInterface extends ContextAwarePluginManagerInterface, CategorizingPluginManagerInterface, FilteredPluginManagerInterface {

}

Members

Namesort descending Modifiers Type Description Overrides
CategorizingPluginManagerInterface::getCategories public function Gets the names of all categories. 1
CategorizingPluginManagerInterface::getGroupedDefinitions public function Gets sorted plugin definitions grouped by category. 1
CategorizingPluginManagerInterface::getSortedDefinitions public function Gets sorted plugin definitions. 2
ContextAwarePluginManagerInterface::getDefinitionsForContexts public function Determines plugins whose constraints are satisfied by a set of contexts.
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. 4
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. 3
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. 2
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. 7
FilteredPluginManagerInterface::getFilteredDefinitions public function Gets the plugin definitions for a given type and consumer and filters them.
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. 4