DRUPAL_ANONYMOUS_RID

Same name in other branches
  1. 8.9.x core/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

Code

define('DRUPAL_ANONYMOUS_RID', 1);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.