You are here

constant DRUPAL_AUTHENTICATED_RID in Drupal 8

Same name and namespace in other branches
  1. 4 includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
  2. 5 includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
  3. 6 includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
  4. 7 includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID

Role ID for authenticated users; should match what's in the "role" table.

Deprecated

in drupal:8.0.0 and is removed from drupal:9.0.0. Use Drupal\Core\Session\AccountInterface::AUTHENTICATED_ROLE or \Drupal\user\RoleInterface::AUTHENTICATED_ID instead.

See also

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

File

core/includes/bootstrap.inc, line 117
Functions that need to be loaded on every Drupal request.

Code

const DRUPAL_AUTHENTICATED_RID = AccountInterface::AUTHENTICATED_ROLE;