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 62
- Functions that need to be loaded on every Drupal request.
Code
const DRUPAL_ANONYMOUS_RID = AccountInterface::ANONYMOUS_ROLE;
Please login to continue.