interface BlockManagerInterface in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Block/BlockManagerInterface.php \Drupal\Core\Block\BlockManagerInterface
Provides an interface for the discovery and instantiation of block plugins.
Hierarchy
- interface \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface; interface \Drupal\Component\Plugin\CategorizingPluginManagerInterface; interface \Drupal\Core\Plugin\FilteredPluginManagerInterface
- interface \Drupal\Core\Block\BlockManagerInterface
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
File
- core/
lib/ Drupal/ Core/ Block/ BlockManagerInterface.php, line 12
Namespace
Drupal\Core\BlockView source
interface BlockManagerInterface extends ContextAwarePluginManagerInterface, CategorizingPluginManagerInterface, FilteredPluginManagerInterface {
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
CategorizingPluginManagerInterface:: |
public | function | Gets the names of all categories. | 1 |
CategorizingPluginManagerInterface:: |
public | function | Gets sorted plugin definitions grouped by category. | 1 |
CategorizingPluginManagerInterface:: |
public | function | Gets sorted plugin definitions. | 2 |
ContextAwarePluginManagerInterface:: |
public | function | Determines plugins whose constraints are satisfied by a set of contexts. | |
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 4 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 3 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 7 |
FilteredPluginManagerInterface:: |
public | function | Gets the plugin definitions for a given type and consumer and filters them. | |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |