UserPermissionsForm::$permissionHandler

The permission handler. Type: \Drupal\user\PermissionHandlerInterface File core/modules/user/src/Form/UserPermissionsForm.php, line 22 Class UserPermissionsForm Provides the user permissions administration form. Namespace Drupal\user\Form Code protected $permissionHandler;

UserPermissionsForm::$roleStorage

The role storage. Type: \Drupal\user\RoleStorageInterface File core/modules/user/src/Form/UserPermissionsForm.php, line 29 Class UserPermissionsForm Provides the user permissions administration form. Namespace Drupal\user\Form Code protected $roleStorage;

UserPermissionsForm::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/modules/user/src/Form/UserPermissionsForm.php, line 36 Class UserPermissionsForm Provides the user permissions administration form. Namespace Drupal\user\Form Code protected $moduleHandler;

UserPasswordResetForm::getFormId

public UserPasswordResetForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/user/src/Form/UserPasswordResetForm.php, line 18 Class UserPasswordResetForm Form controller for the user password forms. Namespace Drupal\user\Form Code public function getFormId() { return 'user_pass_reset'; }

UserPasswordResetForm::submitForm

public UserPasswordResetForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/user/src/Form/UserPasswordResetForm.php, line 67 Class UserPasswordResetForm Form controller for the user password forms. Namespace Drupal\user\Form Code p

UserPasswordResetForm::buildForm

public UserPasswordResetForm::buildForm(array $form, FormStateInterface $form_state, AccountInterface $user = NULL, $expiration_date = NULL, $timestamp = NULL, $hash = NULL) Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. \Drupal\Core\Session\AccountInterface $user: User requesting reset. string $expiration_date: Formatted expiration date for the login link, or NULL if the link d

UserPasswordResetForm

Form controller for the user password forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserPasswordResetForm File core/modules/user/src/Form/UserPasswordResetForm.php, line 13 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerial

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 functio

UserPasswordForm::submitForm

public UserPasswordForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/user/src/Form/UserPasswordForm.php, line 135 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public function submitF

UserPasswordForm::validateForm

public UserPasswordForm::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/user/src/Form/UserPasswordForm.php, line 109 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public function validate