You are here

interface BlockManagerInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

4 files declare their use of BlockManagerInterface
BlockContentBlock.php in core/modules/block_content/src/Plugin/Block/BlockContentBlock.php
Contains \Drupal\block_content\Plugin\Block\BlockContentBlock.
BlockLibraryController.php in core/modules/block/src/Controller/BlockLibraryController.php
Contains \Drupal\block\Controller\BlockLibraryController.
CategoryAutocompleteController.php in core/modules/block/src/Controller/CategoryAutocompleteController.php
Contains \Drupal\block\Controller\CategoryAutocompleteController.
NegotiationConfigureForm.php in core/modules/language/src/Form/NegotiationConfigureForm.php
Contains \Drupal\language\Form\NegotiationConfigureForm.

File

core/lib/Drupal/Core/Block/BlockManagerInterface.php, line 16
Contains \Drupal\Core\Block\BlockManagerInterface.

Namespace

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

}

Members

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