An interface for managers of executable plugins.
Expanded class hierarchy of ExecutableManagerInterface
All classes that implement ExecutableManagerInterface
interface ExecutableManagerInterface extends PluginManagerInterface {
/**
* Executes an executable plugin.
*
* @param \Drupal\Core\Executable\ExecutableInterface $plugin
* An executable plugin instance managed by the implementing manager.
*
* @throws \Drupal\Core\Executable\ExecutableException
* If the plugin could not be executed.
*
* @return mixed
* The returned data varies by plugin implementation, e.g. conditions return
* the the boolean evaluation result.
*/
public function execute(ExecutableInterface $plugin);
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
DiscoveryInterface:: |
public | function | Gets a specific plugin definition. | 10 |
DiscoveryInterface:: |
public | function | Gets the definition of all plugins for this type. | 10 |
ExecutableManagerInterface:: |
public | function | Executes an executable plugin. | 1 |
FactoryInterface:: |
public | function | Returns a preconfigured instance of a plugin. | 2 |
MapperInterface:: |
public | function | Returns a preconfigured instance of a plugin. | 1 |