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
DrupalWebTestCase::$originalUser property modules/simpletest/drupal_web_test_case.php The original user, before it was changed to a clean uid = 1 for testing purposes.
DrupalWebTestCase::drupalCreateUser function modules/simpletest/drupal_web_test_case.php Create a user with a given set of permissions.
drupal_anonymous_user function includes/bootstrap.inc Generates a default anonymous $user object.
DRUPAL_CACHE_PER_USER constant includes/common.inc The block or element can change depending on the user.
drupal_get_user_timezone function includes/bootstrap.inc Returns the time zone of the current user.
DRUPAL_USER_TIMEZONE_DEFAULT constant modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY constant modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT constant modules/system/system.module New users will select their own timezone at registration.
EntityCrudHookTestCase::testUserHooks function modules/simpletest/tests/entity_crud_hook_test.test Tests hook invocations for CRUD operations on users.
entity_crud_hook_test_user_delete function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_delete().
entity_crud_hook_test_user_insert function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_insert().
entity_crud_hook_test_user_load function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_load().
entity_crud_hook_test_user_presave function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_presave().
entity_crud_hook_test_user_update function modules/simpletest/tests/entity_crud_hook_test.module Implements hook_user_update().
field_test_field_widget_properties_user_alter function modules/field/tests/field_test.module Implements hook_field_widget_properties_ENTITY_TYPE_alter().
FileFieldTestCase::$admin_user property modules/file/tests/file.test
FileTaxonomyTermTestCase::$admin_user property modules/file/tests/file.test
FileTranferTest::$username property modules/simpletest/tests/filetransfer.test
FileTransfer::$username property includes/filetransfer/filetransfer.inc
FilterAdminTestCase::$admin_user property modules/filter/filter.test
FilterAdminTestCase::$web_user property modules/filter/filter.test
FilterFormatAccessTestCase::$admin_user property modules/filter/filter.test A user with administrative permissions.
FilterFormatAccessTestCase::$filter_admin_user property modules/filter/filter.test A user with 'administer filters' permission.
FilterFormatAccessTestCase::$web_user property modules/filter/filter.test A user with permission to create and edit own content.
FilterSecurityTestCase::$admin_user property modules/filter/filter.test
FormatDateUnitTest::$admin_user property modules/simpletest/tests/common.test
format_username function includes/common.inc Format a username.
FormsArbitraryRebuildTestCase::testUserRegistrationMultipleField function modules/simpletest/tests/form.test Tests a rebuild caused by a multiple value field.
FormsArbitraryRebuildTestCase::testUserRegistrationRebuild function modules/simpletest/tests/form.test Tests a basic rebuild with the user registration form.
FormsFormStorageTestCase::$web_user property modules/simpletest/tests/form.test
FormsRebuildTestCase::$web_user property modules/simpletest/tests/form.test
form_test_form_user_register_form_alter function modules/simpletest/tests/form_test.module Implements hook_form_FORM_ID_alter() for the registration form.
form_test_user_register_form_rebuild function modules/simpletest/tests/form_test.module Submit callback that just lets the form rebuild.
ForumTestCase::$admin_user property modules/forum/forum.test A user with various administrative privileges.
ForumTestCase::$edit_any_topics_user property modules/forum/forum.test A user that can create, edit, and delete forum topics.
ForumTestCase::$edit_own_topics_user property modules/forum/forum.test A user that can create forum topics and edit its own topics.
ForumTestCase::$web_user property modules/forum/forum.test A user with no special privileges.
FrontPageTestCase::$admin_user property modules/system/system.test
HelpTestCase::$any_user property modules/help/help.test The anonymous user that will be created.
HelpTestCase::$big_user property modules/help/help.test The admin user that will be created.
Hook implementations for user-created content types group modules/node/node.module Functions that implement hooks for user-created content types.
hook_username_alter function modules/system/system.api.php Alter the username that is displayed for a user.
hook_user_cancel function modules/user/user.api.php Act on user account cancellations.
hook_user_cancel_methods_alter function modules/user/user.api.php Modify account cancellation methods.
hook_user_categories function modules/user/user.api.php Define a list of user settings or profile information categories.
hook_user_delete function modules/user/user.api.php Respond to user deletion.
hook_user_flood_control function modules/user/user.api.php Respond to user flood control events.
hook_user_insert function modules/user/user.api.php A user account was created.
hook_user_load function modules/user/user.api.php Act on user objects when loaded from the database.
hook_user_login function modules/user/user.api.php The user just logged in.

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