W3cubDocs

/Drupal 8

constant DRUPAL_AUTHENTICATED_RID

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

Deprecated

in Drupal 8.0.0, will be removed before Drupal 9.0.0. Use Drupal\Core\Session\AccountInterface::AUTHENTICATED_ROLE or \Drupal\user\RoleInterface::AUTHENTICATED_ID instead.

File

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

Code

const DRUPAL_AUTHENTICATED_RID = AccountInterface::AUTHENTICATED_ROLE;

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!includes!bootstrap.inc/constant/DRUPAL_AUTHENTICATED_RID/8.1.x