function CancelUser::executeMultiple
Same name in other branches
- 9 core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::executeMultiple()
- 8.9.x core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::executeMultiple()
- 11.x core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::executeMultiple()
Overrides ActionBase::executeMultiple
1 call to CancelUser::executeMultiple()
- CancelUser::execute in core/
modules/ user/ src/ Plugin/ Action/ CancelUser.php
File
-
core/
modules/ user/ src/ Plugin/ Action/ CancelUser.php, line 75
Class
- CancelUser
- Cancels a user account.
Namespace
Drupal\user\Plugin\ActionCode
public function executeMultiple(array $entities) {
$this->tempStoreFactory
->get('user_user_operations_cancel')
->set($this->currentUser
->id(), $entities);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.