Search for user

  1. Search 7.x for user
  2. Search 9.5.x for user
  3. Search 10.3.x for user
  4. Search 11.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
DemoUmamiProfileTest::testUser function core/profiles/demo_umami/tests/src/Functional/DemoUmamiProfileTest.php Tests that the users can log in with the admin password selected 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-8.user-email-token-2587275.php file core/modules/user/tests/fixtures/update/drupal-8.user-email-token-2587275.php Contains database additions to drupal-8.bare.standard.php.gz for testing the
upgrade path of https://www.drupal.org/node/2587275.
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_get_user_timezone function core/includes/bootstrap.inc Returns the time zone of the current user.
DRUPAL_USER_TIMEZONE_DEFAULT constant core/modules/system/system.module New users will be set to the default time zone at registration.
DRUPAL_USER_TIMEZONE_EMPTY constant core/modules/system/system.module New users will get an empty time zone at registration.
DRUPAL_USER_TIMEZONE_SELECT constant core/modules/system/system.module New users will select their own timezone at registration.
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 text format, dangerous tags allowed
with text editor.
EditorSecurityTest::$untrustedUser property core/modules/editor/tests/src/Functional/EditorSecurityTest.php User with access to Restricted HTML text format without text editor.
EditorUploadImageScaleTest::$adminUser property core/modules/editor/tests/src/Functional/EditorUploadImageScaleTest.php A user with permission as administer for testing.
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.
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.
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.
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.
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.
EntityReferenceFieldTranslatedReferenceViewTest::$webUser property core/modules/field/tests/src/Functional/EntityReference/EntityReferenceFieldTranslatedReferenceViewTest.php An user with permission to edit the referrer entity.
EntityReferenceSelectionAccessTest::testUserHandler function core/modules/system/tests/src/Functional/Entity/EntityReferenceSelection/EntityReferenceSelectionAccessTest.php Test the user-specific overrides of the entity handler.
EntityResource::$user property core/modules/jsonapi/src/Controller/EntityResource.php The current user account.
EntityResourceTest::$user property core/modules/jsonapi/tests/src/Kernel/Controller/EntityResourceTest.php The user.
EntityRevisionsTest::$webUser property core/modules/system/tests/src/Functional/Entity/EntityRevisionsTest.php A user with permission to administer entity_test content.
EntitySerializationTest::$user property core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php The test user.
EntitySerializationTest::testUserNormalize function core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php Tests user normalization, using the entity_serialization_test module to
override some default access controls.
EntityStateChangeValidationTest::$adminUser property core/modules/content_moderation/tests/src/Kernel/EntityStateChangeValidationTest.php An admin user.
EntityTypeInfo::$currentUser property core/modules/content_moderation/src/EntityTypeInfo.php The current user.
EntityUnitTestBase::createUser function core/modules/system/src/Tests/Entity/EntityUnitTestBase.php Creates a user.
EntityUser class core/modules/user/src/Plugin/migrate/destination/EntityUser.php Provides a destination plugin for migrating user entities.
EntityUser.php file core/modules/user/src/Plugin/migrate/destination/EntityUser.php
EntityUser::$password property core/modules/user/src/Plugin/migrate/destination/EntityUser.php The password service class.
EntityUser::create function core/modules/user/src/Plugin/migrate/destination/EntityUser.php Creates an instance of the plugin.

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