constant USER_REGISTER_ADMINISTRATORS_ONLY

Only administrators can create user accounts.

7 uses of USER_REGISTER_ADMINISTRATORS_ONLY
AccountSettingsForm::buildForm in drupal/core/modules/user/lib/Drupal/user/AccountSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::buildForm().
CommentLinksTest::assertCommentLinks in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
Asserts that comment links appear according to the passed environment.
CommentLinksTest::testCommentLinks in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentLinksTest.php
Tests comment links.
RegisterAccessCheck::access in drupal/core/modules/user/lib/Drupal/user/Access/RegisterAccessCheck.php
Implements AccessCheckInterface::access().
theme_comment_post_forbidden in drupal/core/modules/comment/comment.module
Returns HTML for a "you can't post comments" notice.

... See full list

File

drupal/core/modules/user/user.module, line 36
Enables the user registration and login system.

Code

const USER_REGISTER_ADMINISTRATORS_ONLY = 'admin_only';