1. 8.5.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  2. 8.0.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  3. 8.1.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  4. 8.2.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  5. 8.3.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  6. 8.4.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface
  7. 8.6.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php ExecutableManagerInterface

An interface for managers of executable plugins.

Hierarchy

Expanded class hierarchy of ExecutableManagerInterface

All classes that implement ExecutableManagerInterface

5 files declare their use of ExecutableManagerInterface
BlockAccessControlHandler.php in core/modules/block/src/BlockAccessControlHandler.php
BlockForm.php in core/modules/block/src/BlockForm.php
ConditionInterface.php in core/lib/Drupal/Core/Condition/ConditionInterface.php
ConditionManager.php in core/lib/Drupal/Core/Condition/ConditionManager.php
ConditionPluginBase.php in core/lib/Drupal/Core/Condition/ConditionPluginBase.php

File

core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php, line 10

Namespace

Drupal\Core\Executable
View source
interface ExecutableManagerInterface extends PluginManagerInterface {

  /**
   * Executes an executable plugin.
   *
   * @param \Drupal\Core\Executable\ExecutableInterface $plugin
   *   An executable plugin instance managed by the implementing manager.
   *
   * @return mixed
   *   The returned data varies by plugin implementation, e.g. conditions return
   *   the boolean evaluation result.
   *
   * @throws \Drupal\Core\Executable\ExecutableException
   *   If the plugin could not be executed.
   */
  public function execute(ExecutableInterface $plugin);

}

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description Overrides
DiscoveryInterface::getDefinition public function Gets a specific plugin definition. Overrides DiscoveryInterface::getDefinition
DiscoveryInterface::getDefinitions public function Gets the definition of all plugins for this type. Overrides DiscoveryInterface::getDefinitions
DiscoveryInterface::hasDefinition public function Indicates if a specific plugin definition exists. Overrides DiscoveryInterface::hasDefinition
ExecutableManagerInterface::execute public function Executes an executable plugin.
FactoryInterface::createInstance public function Creates a pre-configured instance of a plugin. Overrides FactoryInterface::createInstance
MapperInterface::getInstance public function Gets a preconfigured instance of a plugin. Overrides MapperInterface::getInstance