You are here

constant USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL in Drupal 8

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

Visitors can create accounts, but they don't become active without administrative approval.

Deprecated

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

See also

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

File

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

Code

const USER_REGISTER_VISITORS_ADMINISTRATIVE_APPROVAL = 'visitors_admin_approval';