interface ExecutableManagerInterface
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface
- 10 core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface
- 11.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface
An interface for managers of executable plugins.
Hierarchy
- interface \Drupal\Component\Plugin\Discovery\DiscoveryInterface; interface \Drupal\Component\Plugin\Factory\FactoryInterface; interface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
- interface \Drupal\Core\Executable\ExecutableManagerInterface extends \Drupal\Component\Plugin\PluginManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface extends \Drupal\Component\Plugin\Discovery\DiscoveryInterface \Drupal\Component\Plugin\Factory\FactoryInterface \Drupal\Component\Plugin\Mapper\MapperInterface
Expanded class hierarchy of ExecutableManagerInterface
All classes that implement ExecutableManagerInterface
4 files declare their use of ExecutableManagerInterface
- 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\ExecutableView 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
Title Sort descending | Modifiers | Object type | Summary | Overrides |
---|---|---|---|---|
ExecutableManagerInterface::execute | public | function | Executes an executable plugin. | 1 |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.