function ExecutableInterface::execute

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
  2. 10 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
  3. 9 core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()
  4. 8.9.x core/lib/Drupal/Core/Executable/ExecutableInterface.php \Drupal\Core\Executable\ExecutableInterface::execute()

Executes the plugin.

Parameters

object|null $object: (optional) An object to execute the plugin on/with.

1 call to ExecutableInterface::execute()
ActionBase::executeMultiple in core/lib/Drupal/Core/Action/ActionBase.php
18 methods override ExecutableInterface::execute()
AddRoleUser::execute in core/modules/user/src/Plugin/Action/AddRoleUser.php
BatchUserAction::execute in core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php
Executes the plugin.
BlockUser::execute in core/modules/user/src/Plugin/Action/BlockUser.php
CancelUser::execute in core/modules/user/src/Plugin/Action/CancelUser.php
ConditionPluginBase::execute in core/lib/Drupal/Core/Condition/ConditionPluginBase.php

... See full list

File

core/lib/Drupal/Core/Executable/ExecutableInterface.php, line 18

Class

ExecutableInterface
An interface for executable plugins.

Namespace

Drupal\Core\Executable

Code

public function execute(?object $object = NULL);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.