Same name and namespace in other branches
  1. 8.9.x core/modules/user/user.module \USER_REGISTER_VISITORS

Visitors can create their own accounts.

17 uses of USER_REGISTER_VISITORS
CommentAnonymous::setUp in modules/comment/comment.test
Sets up a Drupal site for running functional and integration tests.
CommentInterfaceTest::setEnvironment in modules/comment/comment.test
Re-configures the environment, module settings, and user permissions.
CommentInterfaceTest::testCommentLinks in modules/comment/comment.test
Tests comment links.
CommentInterfaceTest::testCommentNodeCommentStatistics in modules/comment/comment.test
Tests the node comment statistics.
FormsArbitraryRebuildTestCase::setUp in modules/simpletest/tests/form.test
Sets up a Drupal site for running functional and integration tests.

... See full list

File

modules/user/user.module, line 26
Enables the user registration and login system.

Code

define('USER_REGISTER_VISITORS', 1);