interface BlockManagerInterface

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

Hierarchy

File

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

Namespace

Drupal\Core\Block

Members

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Block!BlockManagerInterface.php/interface/BlockManagerInterface/8.1.x