UserPermissionsForm

Provides the user permissions administration form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserPermissionsForm File core/modules/user/src/Form/UserPermissionsForm.php, line 15 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySeri

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;

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

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

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::getFormId

public UserPasswordForm::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/UserPasswordForm.php, line 57 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code public function getFormId() { return 'user_pass'; }

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