public function UserMultipleCancelConfirm::__construct in Drupal 9
Same name and namespace in other branches
- 8 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 52
Class
- UserMultipleCancelConfirm
- Provides a confirmation form for cancelling multiple user accounts.
Namespace
Drupal\user\FormCode
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;
}