public function CancelUser::execute in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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 86 - Contains \Drupal\user\Plugin\Action\CancelUser.
Class
- CancelUser
- Cancels a user account.
Namespace
Drupal\user\Plugin\ActionCode
public function execute($object = NULL) {
$this
->executeMultiple(array(
$object,
));
}