You are here

constant USER_REGISTER_VISITORS in Drupal 8

Same name and namespace in other branches
  1. 7 modules/user/user.module \USER_REGISTER_VISITORS

Visitors can create their own accounts.

Deprecated

in drupal:8.3.0 and is removed from drupal:9.0.0. Use \Drupal\user\UserInterface::REGISTER_VISITORS instead.

See also

https://www.drupal.org/node/2831620

File

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

Code

const USER_REGISTER_VISITORS = 'visitors';