function AccountCancellation::__construct

Same name and namespace in other branches
  1. 11.x core/modules/user/src/AccountCancellation.php \Drupal\user\AccountCancellation::__construct()

File

core/modules/user/src/AccountCancellation.php, line 26

Class

AccountCancellation
User account cancellation service.

Namespace

Drupal\user

Code

public function __construct(protected readonly ModuleHandlerInterface $moduleHandler, protected readonly EntityTypeManagerInterface $entityTypeManager, protected readonly AccountProxyInterface $currentUser, protected readonly MessengerInterface $messenger, protected readonly NotificationHandler $notificationHandler, #[Autowire('@logger.channel.user')] protected readonly LoggerInterface $logger, protected readonly SessionInterface $session, #[AutowireServiceClosure('config.factory')] protected \Closure $configFactoryClosure) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.