function ExecutableManagerInterface::execute
Same name in other branches
- 9 core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface::execute()
- 10 core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface::execute()
- 11.x core/lib/Drupal/Core/Executable/ExecutableManagerInterface.php \Drupal\Core\Executable\ExecutableManagerInterface::execute()
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.
1 method overrides ExecutableManagerInterface::execute()
- ConditionManager::execute in core/
lib/ Drupal/ Core/ Condition/ ConditionManager.php - Executes an executable plugin.
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);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.