UserPasswordForm::__construct

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;
}
doc_Drupal
2016-10-29 09:52:50
Comments
Leave a Comment

Please login to continue.