UserMultipleCancelConfirm::getConfirmText

public UserMultipleCancelConfirm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 90 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getConfirmText() { return $this->t('Cancel accounts'); }

UserMultipleCancelConfirm::getFormId

public UserMultipleCancelConfirm::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/UserMultipleCancelConfirm.php, line 69 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getFormId() { return 'user_multiple_cancel_confirm'; }

UserMultipleCancelConfirm::getQuestion

public UserMultipleCancelConfirm::getQuestion() Returns the question to ask the user. Return value string The form question. The page title will be set to this value. Overrides ConfirmFormInterface::getQuestion File core/modules/user/src/Form/UserMultipleCancelConfirm.php, line 76 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts. Namespace Drupal\user\Form Code public function getQuestion() { return $this->t('Are you sure you want

UserMultipleCancelConfirm::submitForm

public UserMultipleCancelConfirm::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/UserMultipleCancelConfirm.php, line 167 Class UserMultipleCancelConfirm Provides a confirmation form for cancelling multiple user accounts.

UserMultipleCancelConfirm::__construct

public UserMultipleCancelConfirm::__construct(PrivateTempStoreFactory $temp_store_factory, UserStorageInterface $user_storage, EntityManagerInterface $entity_manager) Constructs a new UserMultipleCancelConfirm. Parameters \Drupal\user\PrivateTempStoreFactory $temp_store_factory: The temp store factory. \Drupal\user\UserStorageInterface $user_storage: The user storage. \Drupal\Core\Entity\EntityManagerInterface $entity_manager: The entity manager. File core/modules/user/src/Form/UserMultipleCan

username.html.twig

Default theme implementation for displaying a username. Available variables: account: The full account information for the user. name: The user's name, sanitized. extra: Additional text to append to the user's name, sanitized. link_path: The path or URL of the user's profile page, home page, or other desired page to link to for more information about the user. link_options: Options to set on the \Drupal\Core\Url object if linking the user's name to the user's page. attributes: HTML attrib

USERNAME_MAX_LENGTH

Maximum length of username text field. Keep this under 191 characters so we can use a unique constraint in MySQL. File core/modules/user/user.module, line 32 Enables the user registration and login system. Code const USERNAME_MAX_LENGTH = 60;

UserPasswordForm

Provides a user password reset form. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\user\Form\UserPasswordForm File core/modules/user/src/Form/UserPasswordForm.php, line 15 Namespace Drupal\user\Form Members Name Modifiers Type Description DependencySerializationTrait::$_se

UserPasswordForm::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/modules/user/src/Form/UserPasswordForm.php, line 29 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code protected $languageManager;

UserPasswordForm::$userStorage

The user storage. Type: \Drupal\user\UserStorageInterface File core/modules/user/src/Form/UserPasswordForm.php, line 22 Class UserPasswordForm Provides a user password reset form. Namespace Drupal\user\Form Code protected $userStorage;