DRUPAL_AUTHENTICATED_RID

Same name and namespace in other branches
  1. 7.x 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

Code

const DRUPAL_AUTHENTICATED_RID = AccountInterface::AUTHENTICATED_ROLE;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.