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  
Code
const USER_REGISTER_ADMINISTRATORS_ONLY = 'admin_only';
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.