interface ExecutableManagerInterface in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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
- interface \Drupal\Core\Executable\ExecutableManagerInterface
- interface \Drupal\Component\Plugin\PluginManagerInterface
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\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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 3 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 2 |
DiscoveryInterface:: |
public | function | Indicates if a specific plugin definition exists. | 2 |
ExecutableManagerInterface:: |
public | function | Executes an executable plugin. | 1 |
FactoryInterface:: |
public | function | Creates a pre-configured instance of a plugin. | 5 |
MapperInterface:: |
public | function | Gets a preconfigured instance of a plugin. | 4 |