You are here

interface ExecutableManagerInterface in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\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
Contains \Drupal\block\BlockAccessControlHandler.
BlockForm.php in core/modules/block/src/BlockForm.php
Contains \Drupal\block\BlockForm.
ConditionInterface.php in core/lib/Drupal/Core/Condition/ConditionInterface.php
Contains \Drupal\Core\Condition\ConditionInterface.
ConditionManager.php in core/lib/Drupal/Core/Condition/ConditionManager.php
Contains \Drupal\Core\Condition\ConditionManager.
ConditionPluginBase.php in core/lib/Drupal/Core/Condition/ConditionPluginBase.php
Contains \Drupal\Core\Condition\ConditionPluginBase.

File

core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php, line 15
Contains \Drupal\Core\Executable\ExecutableManagerInterface.

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

Namesort descending Modifiers Type Description Overrides
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
ExecutableManagerInterface::execute public function Executes an executable plugin. 1
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