function BatchUserAction::execute
Same name in other branches
- 9 core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php \Drupal\user_batch_action_test\Plugin\Action\BatchUserAction::execute()
- 8.9.x core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php \Drupal\user_batch_action_test\Plugin\Action\BatchUserAction::execute()
- 10 core/modules/views/tests/modules/user_batch_action_test/src/Plugin/Action/BatchUserAction.php \Drupal\user_batch_action_test\Plugin\Action\BatchUserAction::execute()
Overrides ExecutableInterface::execute
File
-
core/
modules/ views/ tests/ modules/ user_batch_action_test/ src/ Plugin/ Action/ BatchUserAction.php, line 53
Class
- BatchUserAction
- Provides action that sets batch precessing.
Namespace
Drupal\user_batch_action_test\Plugin\ActionCode
public function execute($entity = NULL) {
assert($entity instanceof ContentEntityInterface);
$this->executeMultiple([
$entity,
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.