ExecutableManagerInterface.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\ExecutableFile
core/lib/Drupal/Core/Executable/ExecutableManagerInterface.phpView source
<?php
namespace Drupal\Core\Executable;
use Drupal\Component\Plugin\PluginManagerInterface;
/**
* An interface for managers of executable plugins.
*/
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);
}
Interfaces
Name | Description |
---|---|
ExecutableManagerInterface | An interface for managers of executable plugins. |