Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 8.9.x for user
  4. Search 10.3.x for user
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
User class core/modules/user/src/Entity/User.php Defines the user entity class.
User class core/modules/user/src/Plugin/views/argument_validator/User.php Validate whether an argument is a valid user.
User class core/modules/user/src/Plugin/views/argument_default/User.php Default argument plugin to extract a user from request.
User class core/modules/user/src/Plugin/migrate/source/d6/User.php Drupal 6 user source from database.
User class core/modules/user/src/Plugin/migrate/source/d7/User.php Drupal 7 user source from database.
User class core/modules/user/src/Plugin/migrate/User.php Plugin class for Drupal 7 user migrations dealing with fields and profiles.

All search results

Title Object type File name Summary
DateTimeNormalizerTest::testDenormalizeUserFormats function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php Tests the denormalize function with a user supplied format.
DbLogController::$userStorage property core/modules/dblog/src/Controller/DbLogController.php The user storage.
DbLogTest::$adminUser property core/modules/dblog/tests/src/Functional/DbLogTest.php A user with some relevant administrative permissions.
DbLogTest::$webUser property core/modules/dblog/tests/src/Functional/DbLogTest.php A user without any permissions.
DbLogTest::doUser function core/modules/dblog/tests/src/Functional/DbLogTest.php Generates and then verifies some user events.
DbLogTest::testTemporaryUser function core/modules/dblog/tests/src/Functional/DbLogTest.php Tests that the details page displays correctly for a temporary user.
DefaultMenuLinkTreeManipulatorsTest::$currentUser property core/tests/Drupal/Tests/Core/Menu/DefaultMenuLinkTreeManipulatorsTest.php The mocked current user.
DefaultSelection::$currentUser property core/lib/Drupal/Core/Entity/Plugin/EntityReferenceSelection/DefaultSelection.php The current user.
DelayCacheTagsInvalidationHooks::userInsert function core/modules/system/tests/modules/delay_cache_tags_invalidation/src/Hook/DelayCacheTagsInvalidationHooks.php Implements hook_ENTITY_TYPE_insert().
delay_cache_tags_invalidation_user_insert function core/modules/system/tests/modules/delay_cache_tags_invalidation/delay_cache_tags_invalidation.module Implements hook_ENTITY_TYPE_insert().
DeleteAction::$currentUser property core/lib/Drupal/Core/Action/Plugin/Action/DeleteAction.php The current user.
DeleteActionTest::$testUser property core/tests/Drupal/KernelTests/Core/Action/DeleteActionTest.php The test user.
DeleteMultipleForm::$currentUser property core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php The current user.
DemoUmamiHooks::setUserPasswords function core/profiles/demo_umami/src/Hook/DemoUmamiHooks.php Sets the password of admin to be the password for all users.
DemoUmamiProfileTest::testUser function core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php Tests that the users can log in with the admin password entered at install.
demo_umami_set_users_passwords function core/profiles/demo_umami/demo_umami.profile Sets the password of admin to be the password for all users.
Drupal::currentUser function core/lib/Drupal.php Gets the current active user.
DrupalTest::testCurrentUser function core/tests/Drupal/Tests/Core/DrupalTest.php Tests the currentUser() method.
Drupal\user\ModulePermissionsLinkHelper service core/modules/user/user.services.yml
Drupal\user\PermissionHandlerInterface service core/modules/user/user.services.yml
Drupal\user\ToolbarLinkBuilder service core/modules/user/user.services.yml
Drupal\user\UserAuthInterface service core/modules/user/user.services.yml
Drupal\user\UserDataInterface service core/modules/user/user.services.yml
Drupal\user\UserFloodControlInterface service core/modules/user/user.services.yml
Drupal\user\UserNameValidator service core/modules/user/user.services.yml
Drupal\user_route_alter_test\Routing\RouteSubscriber service core/modules/serialization/tests/modules/user_route_alter_test/user_route_alter_test.services.yml
DynamicMenuLinkMock::$currentUser property core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php The current user.
DynamicMenuLinkMock::setCurrentUser function core/tests/Drupal/Tests/Core/Menu/DynamicMenuLinkMock.php Sets the current user.
EditorAdminTest::$adminUser property core/modules/editor/tests/src/Functional/EditorAdminTest.php A user with the 'administer filters' permission.
EditorAdminTest::$user property core/modules/editor/tests/src/FunctionalJavascript/EditorAdminTest.php The user to use during testing.
EditorLoadingTest::$normalUser property core/modules/editor/tests/src/Functional/EditorLoadingTest.php A normal user with additional access to the 'filtered_html' format.
EditorLoadingTest::$privilegedUser property core/modules/editor/tests/src/Functional/EditorLoadingTest.php A privileged user with additional access to the 'full_html' format.
EditorLoadingTest::$untrustedUser property core/modules/editor/tests/src/Functional/EditorLoadingTest.php An untrusted user, with access to the 'plain_text' format.
EditorSecurityTest::$normalUser property core/modules/editor/tests/src/Functional/EditorSecurityTest.php User with access to Restricted HTML text format with text editor.
EditorSecurityTest::$privilegedUser property core/modules/editor/tests/src/Functional/EditorSecurityTest.php User with access to all text formats and text editors.
EditorSecurityTest::$trustedUser property core/modules/editor/tests/src/Functional/EditorSecurityTest.php User with access to Restricted HTML and tags considered dangerous.
EditorSecurityTest::$untrustedUser property core/modules/editor/tests/src/Functional/EditorSecurityTest.php User with access to Restricted HTML text format without text editor.
ElementsVerticalTabsTest::$adminUser property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php A user with permission to access vertical_tab_test_tabs.
ElementsVerticalTabsTest::$webUser property core/modules/system/tests/src/Functional/Form/ElementsVerticalTabsTest.php A normal user.
EmphasisTest::$adminUser property core/modules/ckeditor5/tests/src/FunctionalJavascript/EmphasisTest.php The user to use during testing.
EntityAccessChecker::$currentUser property core/modules/jsonapi/src/Access/EntityAccessChecker.php The current user.
EntityAccessControlHandler::prepareUser function core/lib/Drupal/Core/Entity/EntityAccessControlHandler.php Loads the current account object, if it does not exist yet.
EntityAccessControlHandlerTest::testUserLabelAccess function core/tests/Drupal/KernelTests/Core/Entity/EntityAccessControlHandlerTest.php Ensures user labels are accessible for everyone.
EntityArgumentTest::$adminUser property core/modules/views/tests/src/Functional/Plugin/EntityArgumentTest.php A user with permission to administer taxonomy.
EntityAutocompleteElementFormTest::$testAutocreateUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for autocreate testing.
EntityAutocompleteElementFormTest::$testUser property core/tests/Drupal/KernelTests/Core/Entity/Element/EntityAutocompleteElementFormTest.php User for testing.
EntityCrudHookTest::testUserHooks function core/tests/Drupal/KernelTests/Core/Entity/EntityCrudHookTest.php Tests hook invocations for CRUD operations on users.
EntityCrudHookTestHooks::userCreate function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_create() for user entities.
EntityCrudHookTestHooks::userDelete function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_delete() for user entities.
EntityCrudHookTestHooks::userInsert function core/modules/system/tests/modules/entity_crud_hook_test/src/Hook/EntityCrudHookTestHooks.php Implements hook_ENTITY_TYPE_insert() for user entities.

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