You are here

constant DRUPAL_AUTHENTICATED_RID in Drupal 7

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

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

17 uses of DRUPAL_AUTHENTICATED_RID
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().
FilterAdminTestCase::testFilterAdmin in modules/filter/filter.test
Tests filter administration functionality.
minimal_install in profiles/minimal/minimal.install
Implements hook_install().
NodeAdminTestCase::setUp in modules/node/node.test
Sets up a Drupal site for running functional and integration tests.

... See full list

File

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

Code

define('DRUPAL_AUTHENTICATED_RID', 2);