You are here

public function UserMultipleCancelConfirm::__construct in Drupal 8

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

Constructs a new UserMultipleCancelConfirm.

Parameters

\Drupal\Core\TempStore\PrivateTempStoreFactory $temp_store_factory: The temp store factory.

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

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 59

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, EntityTypeManagerInterface $entity_type_manager) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->userStorage = $user_storage;
  $this->entityTypeManager = $entity_type_manager;
}