Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 9.x
»
user.module
Search Drupal 9.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 9.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
Deprecated
constant USERNAME_MAX_LENGTH
Maximum length of username text field.
5 uses of USERNAME_MAX_LENGTH
AccountFormController::form
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
AccountFormController.php
Overrides
Drupal\Core\Entity\EntityFormController::form
().
user_login_form
in drupal/
core/
modules/
user/
user.module
Form builder; the main user login form.
user_pass
in drupal/
core/
modules/
user/
user.pages.inc
Form builder; Request a password reset.
user_validate_name
in drupal/
core/
modules/
user/
user.module
Verify the syntax of the given name.
_install_configure_form
in drupal/
core/
includes/
install.core.inc
Form constructor for a site configuration form.
File
drupal/
core/
modules/
user/
user.module
, line 17
Enables the user registration and login system.
Code
const
USERNAME_MAX_LENGTH
=
60
;