You are here

constant DRUPAL_ANONYMOUS_RID in Drupal 7

Same name and namespace in other branches
  1. 8 core/includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  2. 4 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  3. 5 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID
  4. 6 includes/bootstrap.inc \DRUPAL_ANONYMOUS_RID

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

33 uses of DRUPAL_ANONYMOUS_RID
BookTestCase::testBookExport in modules/book/book.test
Tests book export ("printer-friendly version") functionality.
BookTestCase::testBookNavigationBlock in modules/book/book.test
Tests the functionality of the book navigation block.
BookTestCase::testNavigationBlockOnAccessModuleEnabled in modules/book/book.test
Tests the book navigation block when an access module is enabled.
CommentAnonymous::testAnonymous in modules/comment/comment.test
Test anonymous comment functionality.
CommentApprovalTest::testApprovalAdminInterface in modules/comment/comment.test
Test comment approval functionality through admin/content/comment.

... See full list

File

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

Code

define('DRUPAL_ANONYMOUS_RID', 1);