Same name and namespace in other branches
- 5.x modules/user/user.module \USERNAME_MAX_LENGTH
- 6.x modules/user/user.module \USERNAME_MAX_LENGTH
- 8.9.x core/modules/user/user.module \USERNAME_MAX_LENGTH
Maximum length of username text field.
7 uses of USERNAME_MAX_LENGTH
- UserValidationTestCase::testUsernames in modules/
user/ user.test - user_account_form in modules/
user/ user.module - Helper function to add default user account fields to user registration and edit form.
- user_login in modules/
user/ user.module - Form builder; the main user login form.
- user_login_block in modules/
user/ user.module - user_pass in modules/
user/ user.pages.inc - Form builder; Request a password reset.
File
- modules/
user/ user.module, line 11 - Enables the user registration and login system.
Code
define('USERNAME_MAX_LENGTH', 60);