function ExecutableInterface::execute
Same name and namespace in other branches
- 11.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
- 10 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
- 9 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
- 8.9.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
Executes the plugin.
phpcs:ignore Drupal.Commenting.FunctionComment.ParamNameNoMatch
@todo Uncomment the new $object method parameter before drupal:12.0.0.
Parameters
object|null $object: (optional) An object to execute the plugin on/with.
See also
https://www.drupal.org/project/drupal/issues/3354672
2 methods override ExecutableInterface::execute()
- BatchUserAction::execute in core/
modules/ views/ tests/ modules/ user_batch_action_test/ src/ Plugin/ Action/ BatchUserAction.php - Executes the plugin.
- TestAction::execute in core/
modules/ views/ tests/ modules/ action_bulk_test/ src/ Plugin/ Action/ TestAction.php - Executes the plugin.
File
-
core/
lib/ Drupal/ Core/ Executable/ ExecutableInterface.php, line 23
Class
- ExecutableInterface
- An interface for executable plugins.
Namespace
Drupal\Core\ExecutableCode
public function execute();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.