Drupal 8  8.0.2
UserPasswordForm Class Reference
Inheritance diagram for UserPasswordForm:

Public Member Functions

 __construct (UserStorageInterface $user_storage, LanguageManagerInterface $language_manager)
 
 getFormId ()
 
 buildForm (array $form, FormStateInterface $form_state)
 
 validateForm (array &$form, FormStateInterface $form_state)
 
 submitForm (array &$form, FormStateInterface $form_state)
 

Static Public Member Functions

static create (ContainerInterface $container)
 

Protected Attributes

 $userStorage
 
 $languageManager
 

Detailed Description

Provides a user password reset form.

Constructor & Destructor Documentation

__construct ( UserStorageInterface  $user_storage,
LanguageManagerInterface  $language_manager 
)

Constructs a UserPasswordForm object.

Parameters
\Drupal\user\UserStorageInterface$user_storageThe user storage.
\Drupal\Core\Language\LanguageManagerInterface$language_managerThe language manager.

References Drupal\languageManager().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state 
)

{}

Parameters
\Symfony\Component\HttpFoundation\Request$requestThe request object.

References Drupal\currentUser(), and t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)
static

{}

getFormId ( )

{}

submitForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References FormStateInterface\getValue(), Drupal\languageManager(), Drupal\logger(), FormStateInterface\setRedirect(), and t().

Here is the call graph for this function:

validateForm ( array &  $form,
FormStateInterface  $form_state 
)

{}

References FormStateInterface\getValue(), FormStateInterface\setErrorByName(), FormStateInterface\setValueForElement(), and t().

Here is the call graph for this function:


The documentation for this class was generated from the following file: