constant USER_REGISTER_ADMINISTRATORS_ONLY

Only administrators can create user accounts.

8 uses of USER_REGISTER_ADMINISTRATORS_ONLY
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.
openid_authentication in drupal/core/modules/openid/openid.module
Authenticate a user or attempt registration.
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 27
Enables the user registration and login system.

Code

const USER_REGISTER_ADMINISTRATORS_ONLY = 'admin_only';