public function CancelUser::executeMultiple in Drupal 10
Same name and namespace in other branches
- 8 core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::executeMultiple()
- 9 core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::executeMultiple()
File
- core/
modules/ user/ src/ Plugin/ Action/ CancelUser.php, line 74
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);
}