Search for user

  1. Search 9.5.x for user
  2. Search 8.9.x for user
  3. Search 10.3.x for user
  4. Search 11.x for user
  5. Other projects
Title Object type File name Summary
$user global external_documentation/developer/globals.php An object representing the user currently visiting the site.
AccessDeniedTestCase::$admin_user property modules/system/system.test
AggregatorRenderingTestCase::$admin_user property modules/aggregator/aggregator.test
AJAXFormValuesTestCase::$web_user property modules/simpletest/tests/ajax.test
AJAXMultiFormTestCase::$web_user property modules/simpletest/tests/ajax.test
AnnounceFeedTestInvalidJsonTestCase::$user property modules/announcements_feed/tests/announce_feed_test.test A user with permission to access toolbar and access announcements.
AnnounceFeedTestSanitizationTestCase::$user property modules/announcements_feed/tests/announce_feed_test.test A user with permission to access toolbar and access announcements.
AnnounceFeedTestValidateJsonFeed::$user property modules/announcements_feed/tests/announce_feed_test.test A user with permission to access toolbar and access announcements.
anonymous_user_unblock_test.info file modules/user/tests/anonymous_user_unblock_test.info name = Anonymous user unblock action tests
description = Support module for anonymous user unblock action testing.
package = Testing
version = VERSION
core = 7.x
hidden = TRUE
anonymous_user_unblock_test.module file modules/user/tests/anonymous_user_unblock_test.module Dummy module implementing hook_user_load().
anonymous_user_unblock_test_user_load function modules/user/tests/anonymous_user_unblock_test.module Implements hook_user_load().
BlockCacheTestCase::$admin_user property modules/block/block.test
BlockCacheTestCase::$normal_user property modules/block/block.test
BlockCacheTestCase::$normal_user_alt property modules/block/block.test
BlockCacheTestCase::testCachePerUser function modules/block/block.test Test DRUPAL_CACHE_PER_USER.
BlockHTMLIdTestCase::$admin_user property modules/block/block.test
BlockTestCase::$admin_user property modules/block/block.test
BlockTestCase::testBlockVisibilityPerUser function modules/block/block.test Test user customization of block visibility.
block_form_user_profile_form_alter function modules/block/block.module Implements hook_form_FORM_ID_alter() for user_profile_form().
block_user_presave function modules/block/block.module Implements hook_user_presave().
block_user_role_delete function modules/block/block.module Implements hook_user_role_delete().
BlogTestCase::$any_user property modules/blog/blog.test
BlogTestCase::$big_user property modules/blog/blog.test
BlogTestCase::$own_user property modules/blog/blog.test
BlogTestCase::testUnprivilegedUser function modules/blog/blog.test Confirm that the "You are not allowed to post a new blog entry." message
shows up if a user submitted blog entries, has been denied that
permission, and goes to the blog page.
blog_feed_user function modules/blog/blog.pages.inc Menu callback; displays an RSS feed containing recent blog entries of a given user.
blog_page_user function modules/blog/blog.pages.inc Menu callback; displays a Drupal page containing recent blog entries of a given user.
blog_page_user_access function modules/blog/blog.module Access callback for user blog pages.
blog_user_view function modules/blog/blog.module Implements hook_user_view().
BookTestCase::$admin_user property modules/book/book.test A user with permission to create and edit books and to administer blocks.
BookTestCase::$web_user property modules/book/book.test A user with permission to view a book and access printer-friendly version.
ColorTestCase::$big_user property modules/color/color.test
CommentHelperCase::$admin_user property modules/comment/comment.test
CommentHelperCase::$super_user property modules/comment/comment.test
CommentHelperCase::$web_user property modules/comment/comment.test
CommentInterfaceTest::$web_user2 property modules/comment/comment.test
comment_user_cancel function modules/comment/comment.module Implements hook_user_cancel().
comment_user_delete function modules/comment/comment.module Implements hook_user_delete().
ConfirmFormTest::$admin_user property modules/system/system.test
ContactPersonalTestCase::$admin_user property modules/contact/contact.test
ContactPersonalTestCase::$contact_user property modules/contact/contact.test
ContactPersonalTestCase::$web_user property modules/contact/contact.test
contact_form_user_admin_settings_alter function modules/contact/contact.module Implements hook_form_FORM_ID_alter().
contact_form_user_profile_form_alter function modules/contact/contact.module Implements hook_form_FORM_ID_alter().
contact_user_presave function modules/contact/contact.module Implements hook_user_presave().
DateFormatTestCase::$admin_user property modules/system/system.test
DateTimeFunctionalTest::$admin_user property modules/system/system.test
DBLogTestCase::$any_user property modules/dblog/dblog.test A user without any permissions.
DBLogTestCase::$big_user property modules/dblog/dblog.test A user with some relevant administrative permissions.
DBLogTestCase::doUser function modules/dblog/dblog.test Generates and then verifies some user events.

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