public UserPasswordForm::__construct(UserStorageInterface $user_storage, LanguageManagerInterface $language_manager)
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 39
Class
- UserPasswordForm
- Provides a user password reset form.
Namespace
Drupal\user\Form
Code
public function __construct(UserStorageInterface $user_storage, LanguageManagerInterface $language_manager) { $this->userStorage = $user_storage; $this->languageManager = $language_manager; }
Please login to continue.