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
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.
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
DeleteMultipleForm::$currentUser property core/lib/Drupal/Core/Entity/Form/DeleteMultipleForm.php The current user.
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\navigation\UserLazyBuilders service core/modules/navigation/navigation.services.yml
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.
EntityDeprecationTest::testCreateUserDeprecation function core/tests/Drupal/KernelTests/Core/Entity/EntityDeprecationTest.php Tests deprecation of \Drupal\KernelTests\Core\Entity\EntityKernelTestBase::createUser().
EntityFieldTest::$entityUser property core/tests/Drupal/KernelTests/Core/Entity/EntityFieldTest.php
EntityFilteringThemeTest::$user property core/modules/system/tests/src/Functional/Theme/EntityFilteringThemeTest.php A test user.
EntityFormTest::$webUser property core/modules/system/tests/src/Functional/Entity/EntityFormTest.php The current user of the test.
EntityKernelTestBase::createUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBase.php Creates a user.
EntityKernelTestBaseTest::testSetUpCurrentUser function core/tests/Drupal/KernelTests/Core/Entity/EntityKernelTestBaseTest.php Tests that the current user is set up correctly.
EntityReferenceFieldDefaultValueTest::$adminUser property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldDefaultValueTest.php A user with permission to administer content types, node fields, etc.
EntityReferenceFieldTest::assertUserAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for users.
EntityReferenceFieldTest::assertUserRoleAutocreate function core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php Asserts that the setter callback performs autocreation for user roles.

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