Same name and namespace in other branches
- 4.7.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 5.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 6.x includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
- 8.9.x core/includes/bootstrap.inc \DRUPAL_AUTHENTICATED_RID
Role ID for authenticated users; should match what's in the "role" table.
31 uses of DRUPAL_AUTHENTICATED_RID
- BlockTestCase::testBlockVisibility in modules/
block/ block.test - Test block visibility.
- BlockTestCase::testCustomBlock in modules/
block/ block.test - Test creating custom block, moving it to a specific region and then deleting it.
- CommentInterfaceTest::setEnvironment in modules/
comment/ comment.test - Re-configures the environment, module settings, and user permissions.
- comment_node_update_index in modules/
comment/ comment.module - Implements hook_node_update_index().
- DrupalRenderTestCase::testDrupalRenderCache in modules/
simpletest/ tests/ common.test - Tests caching of render items.
File
- includes/
bootstrap.inc, line 167 - Functions that need to be loaded on every Drupal request.
Code
define('DRUPAL_AUTHENTICATED_RID', 2);