CancelUser::$currentUser
Same name in other branches
- 8.9.x core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::currentUser
- 10 core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::currentUser
- 11.x core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::currentUser
The current user.
Type: \Drupal\Core\Session\AccountInterface
File
-
core/
modules/ user/ src/ Plugin/ Action/ CancelUser.php, line 35
Class
- CancelUser
- Cancels a user account.
Namespace
Drupal\user\Plugin\ActionCode
protected $currentUser;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.