Drupal 8  8.0.2
UserPasswordResetForm Class Reference
Inheritance diagram for UserPasswordResetForm:

Public Member Functions

 __construct (LoggerInterface $logger)
 getFormId ()
 buildForm (array $form, FormStateInterface $form_state, AccountInterface $user=NULL, $expiration_date=NULL, $timestamp=NULL, $hash=NULL)

Static Public Member Functions

static create (ContainerInterface $container)

Protected Attributes


Detailed Description

Form controller for the user password forms.

Constructor & Destructor Documentation

__construct ( LoggerInterface  $logger)

Constructs a new UserPasswordResetForm.

\Psr\Log\LoggerInterface$loggerA logger instance.

References Drupal\logger().

Here is the call graph for this function:

Member Function Documentation

buildForm ( array  $form,
FormStateInterface  $form_state,
AccountInterface  $user = NULL,
  $expiration_date = NULL,
  $timestamp = NULL,
  $hash = NULL 


array$formAn associative array containing the structure of the form.
\Drupal\Core\Form\FormStateInterface$form_stateThe current state of the form.
\Drupal\Core\Session\AccountInterface$userUser requesting reset.
string$expiration_dateFormatted expiration date for the login link, or NULL if the link does not expire.
int$timestampThe current timestamp.
string$hashLogin link hash.

References t().

Here is the call graph for this function:

static create ( ContainerInterface  $container)


getFormId ( )


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