public function ExecutableManagerInterface::execute
public ExecutableManagerInterface::execute(ExecutableInterface $plugin)
Executes an executable plugin.
Parameters
\Drupal\Core\Executable\ExecutableInterface $plugin: An executable plugin instance managed by the implementing manager.
Return value
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.
File
- core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php, line 25
Class
- ExecutableManagerInterface
- An interface for managers of executable plugins.
Namespace
Drupal\Core\ExecutableCode
public function execute(ExecutableInterface $plugin);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Executable!ExecutableManagerInterface.php/function/ExecutableManagerInterface::execute/8.1.x