You are here

constant DRUPAL_ANONYMOUS_RID in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID

Role ID for anonymous 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::ANONYMOUS_ROLE or \Drupal\user\RoleInterface::ANONYMOUS_ID instead.

File

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

Code

const DRUPAL_ANONYMOUS_RID = AccountInterface::ANONYMOUS_ROLE;