You are here

constant UserInterface::REGISTER_ADMINISTRATORS_ONLY in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY
  2. 10 core/modules/user/src/UserInterface.php \Drupal\user\UserInterface::REGISTER_ADMINISTRATORS_ONLY

Only administrators can create user accounts.

File

core/modules/user/src/UserInterface.php, line 26

Class

UserInterface
Provides an interface defining a user entity.

Namespace

Drupal\user

Code

const REGISTER_ADMINISTRATORS_ONLY = 'admin_only';