UserInterface::REGISTER_ADMINISTRATORS_ONLY
Same name in other branches
- 9 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY
- 8.9.x core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY
- 10 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY
Only administrators can create user accounts.
File
-
core/
modules/ user/ src/ UserInterface.php, line 26
Class
- UserInterface
- Provides an interface defining a user entity.
Namespace
Drupal\userCode
const REGISTER_ADMINISTRATORS_ONLY = 'admin_only';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.