public function CancelUser::execute in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/src/Plugin/Action/CancelUser.php \Drupal\user\Plugin\Action\CancelUser::execute()
Executes the plugin.
Overrides ExecutableInterface::execute
File
- core/
modules/ user/ src/ Plugin/ Action/ CancelUser.php, line 81
Class
- CancelUser
- Cancels a user account.
Namespace
Drupal\user\Plugin\ActionCode
public function execute($object = NULL) {
$this
->executeMultiple([
$object,
]);
}