Mercurial > hg > isophonics-drupal-site
view core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 4c8ae668cc8c |
children |
line wrap: on
line 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); }