constant DRUPAL_ANONYMOUS_RID

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

40 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::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
Test 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.
CommentAnonymousTest::setUp in drupal/core/modules/comment/lib/Drupal/comment/Tests/CommentAnonymousTest.php
Sets up a Drupal site for running functional and integration tests.

... See full list

File

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

Code

const DRUPAL_ANONYMOUS_RID = 'anonymous';