constant USER_REGISTER_ADMINISTRATORS_ONLY in Drupal 8
Same name and namespace in other branches
- 7 modules/user/user.module \USER_REGISTER_ADMINISTRATORS_ONLY
Only administrators can create user accounts.
Deprecated
in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY instead.
See also
https://www.drupal.org/node/2831620
File
- core/
modules/ user/ user.module, line 49 - Enables the user registration and login system.
Code
const USER_REGISTER_ADMINISTRATORS_ONLY = 'admin_only';