constant USER_REGISTER_ADMINISTRATORS_ONLY in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/user/user.module \USER_REGISTER_ADMINISTRATORS_ONLY
Only administrators can create user accounts.
3 uses of USER_REGISTER_ADMINISTRATORS_ONLY
- AccountSettingsForm::buildForm in core/
modules/ user/ src/ AccountSettingsForm.php - Form constructor.
- CommentManager::forbiddenMessage in core/
modules/ comment/ src/ CommentManager.php - Provides a message if posting comments is forbidden.
- UserLoginBlock::build in core/
modules/ user/ src/ Plugin/ Block/ UserLoginBlock.php - Builds and returns the renderable array for this block plugin.
File
- core/
modules/ user/ user.module, line 36 - Enables the user registration and login system.
Code
const USER_REGISTER_ADMINISTRATORS_ONLY = 'admin_only';