constant DRUPAL_ANONYMOUS_RID

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

46 uses of DRUPAL_ANONYMOUS_RID
AccessDeniedTest::setUp in drupal/core/modules/system/lib/Drupal/system/Tests/System/AccessDeniedTest.php
Sets up a Drupal site for running functional and integration tests.
BookTest::testBookExport in drupal/core/modules/book/lib/Drupal/book/Tests/BookTest.php
Tests book export ("printer-friendly version") functionality.
BookTest::testBookNavigationBlock in drupal/core/modules/book/lib/Drupal/book/Tests/BookTest.php
Tests the functionality of the book navigation block.
BookTest::testNavigationBlockOnAccessModuleEnabled in drupal/core/modules/book/lib/Drupal/book/Tests/BookTest.php
Tests the book navigation block when an access module is enabled.
BreadcrumbTest::testBreadCrumbs in drupal/core/modules/system/lib/Drupal/system/Tests/Menu/BreadcrumbTest.php
Tests breadcrumbs on node and administrative paths.

... See full list

File

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

Code

const DRUPAL_ANONYMOUS_RID = 'anonymous';