Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 7.x
»
user.module
Search Drupal 7.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 7.x
Topics
Classes
Functions
Files
Namespaces
Constants
Globals
constant USERNAME_MAX_LENGTH
Maximum length of username text field.
6 uses of USERNAME_MAX_LENGTH
user_account_form
in drupal/
modules/
user/
user.module
Helper function to add default user account fields to user registration and edit form.
user_login
in drupal/
modules/
user/
user.module
Form builder; the main user login form.
user_login_block
in drupal/
modules/
user/
user.module
user_pass
in drupal/
modules/
user/
user.pages.inc
Form builder; Request a password reset.
user_validate_name
in drupal/
modules/
user/
user.module
Verify the syntax of the given name.
... See full list
File
drupal/
modules/
user/
user.module
, line 11
Enables the user registration and login system.
Code
define
(
'USERNAME_MAX_LENGTH'
,
60
);