interface BlockManagerInterface
Same name and namespace in other branches
- 8.9.x core/lib/Drupal/Core/Block/BlockManagerInterface.php \Drupal\Core\Block\BlockManagerInterface
- 10 core/lib/Drupal/Core/Block/BlockManagerInterface.php \Drupal\Core\Block\BlockManagerInterface
- 11.x 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\Component\Plugin\CategorizingPluginManagerInterface implements \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Core\Plugin\Context\ContextAwarePluginManagerInterface implements \Drupal\Component\Plugin\PluginManagerInterface; interface \Drupal\Core\Plugin\FilteredPluginManagerInterface implements \Drupal\Component\Plugin\PluginManagerInterface
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
Title Sort descending | Modifiers | Object type | Summary | 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. | 1 |
FactoryInterface::createInstance | public | function | Creates a pre-configured instance of a plugin. | 6 |
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. | 3 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.