You are here

public function UserMultipleCancelConfirm::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/user/src/Form/UserMultipleCancelConfirm.php \Drupal\user\Form\UserMultipleCancelConfirm::__construct()

Constructs a new UserMultipleCancelConfirm.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The temp store factory.

\Drupal\user\UserStorageInterface $user_storage: The user storage.

\Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager.

File

core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 54
Contains \Drupal\user\Form\UserMultipleCancelConfirm.

Class

UserMultipleCancelConfirm
Provides a confirmation form for cancelling multiple user accounts.

Namespace

Drupal\user\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, UserStorageInterface $user_storage, EntityManagerInterface $entity_manager) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->userStorage = $user_storage;
  $this->entityManager = $entity_manager;
}