public function UserPasswordForm::__construct in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/src/Form/UserPasswordForm.php \Drupal\user\Form\UserPasswordForm::__construct()
Constructs a UserPasswordForm object.
Parameters
\Drupal\user\UserStorageInterface $user_storage: The user storage.
\Drupal\Core\Language\LanguageManagerInterface $language_manager: The language manager.
File
- core/
modules/ user/ src/ Form/ UserPasswordForm.php, line 44 - Contains \Drupal\user\Form\UserPasswordForm.
Class
- UserPasswordForm
- Provides a user password reset form.
Namespace
Drupal\user\FormCode
public function __construct(UserStorageInterface $user_storage, LanguageManagerInterface $language_manager) {
$this->userStorage = $user_storage;
$this->languageManager = $language_manager;
}