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
UserRegistrationTest::testUuidFormState function core/modules/user/tests/src/Functional/UserRegistrationTest.php Tests that UUID isn't cached in form state on register form.
UserRememberRolesFilterSettingTest class core/modules/views/tests/src/Functional/Update/UserRememberRolesFilterSettingTest.php Tests the upgrade path for the clean-up of empty remember_roles display settings for views filters.
UserRememberRolesFilterSettingTest.php file core/modules/views/tests/src/Functional/Update/UserRememberRolesFilterSettingTest.php
UserRememberRolesFilterSettingTest::setDatabaseDumpFiles function core/modules/views/tests/src/Functional/Update/UserRememberRolesFilterSettingTest.php Set database dump files to be used.
UserRememberRolesFilterSettingTest::testViewsPostUpdateBooleanFilterAcceptEmpty function core/modules/views/tests/src/Functional/Update/UserRememberRolesFilterSettingTest.php Test that filter values are updated properly.
UserRequestSubscriber class core/modules/user/src/EventSubscriber/UserRequestSubscriber.php Updates the current user's last access time.
UserRequestSubscriber.php file core/modules/user/src/EventSubscriber/UserRequestSubscriber.php
UserRequestSubscriber::$account property core/modules/user/src/EventSubscriber/UserRequestSubscriber.php The current account.
UserRequestSubscriber::$entityTypeManager property core/modules/user/src/EventSubscriber/UserRequestSubscriber.php The entity type manager service.
UserRequestSubscriber::getSubscribedEvents function core/modules/user/src/EventSubscriber/UserRequestSubscriber.php
UserRequestSubscriber::onKernelTerminate function core/modules/user/src/EventSubscriber/UserRequestSubscriber.php Updates the current user's last access time.
UserRequestSubscriber::__construct function core/modules/user/src/EventSubscriber/UserRequestSubscriber.php Constructs a new UserRequestSubscriber.
UserRequirementsTest class core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests user_requirements().
UserRequirementsTest class core/modules/user/tests/src/Functional/UserRequirementsTest.php Tests the requirements checks of the User module.
UserRequirementsTest.php file core/modules/user/tests/src/Functional/UserRequirementsTest.php
UserRequirementsTest.php file core/modules/user/tests/src/Kernel/UserRequirementsTest.php
UserRequirementsTest::$defaultTheme property core/modules/user/tests/src/Functional/UserRequirementsTest.php The theme to install as the default for testing.
UserRequirementsTest::$modules property core/modules/user/tests/src/Kernel/UserRequirementsTest.php Modules to install.
UserRequirementsTest::setUp function core/modules/user/tests/src/Kernel/UserRequirementsTest.php
UserRequirementsTest::testAnonymousUser function core/modules/user/tests/src/Functional/UserRequirementsTest.php Tests that the requirements check can detect a missing anonymous user.
UserRequirementsTest::testBlankUserEmails function core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests that the requirements check does not incorrectly flag blank emails.
UserRequirementsTest::testConflictingUserEmails function core/modules/user/tests/src/Kernel/UserRequirementsTest.php Tests that the requirements check can detect conflicting user emails.
UserResourceTestBase class core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Resource test base for the user entity.
UserResourceTestBase.php file core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserResourceTestBase::$entity property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserResourceTestBase::$entityTypeId property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The tested entity type.
UserResourceTestBase::$firstCreatedEntityId property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The entity ID for the first created entity in testPost().
UserResourceTestBase::$labelFieldName property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Optionally specify which field is the 'label' field.
UserResourceTestBase::$modules property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Modules to install.
UserResourceTestBase::$patchProtectedFieldNames property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The fields that are protected against modification during PATCH requests.
UserResourceTestBase::$secondCreatedEntityId property core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The entity ID for the second created entity in testPost().
UserResourceTestBase::assertRpcLogin function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Verifies that logging in with the given username and password works.
UserResourceTestBase::createAnotherEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Creates another entity to be tested.
UserResourceTestBase::createEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Creates the entity to be tested.
UserResourceTestBase::getExpectedCacheContexts function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The expected cache contexts for the GET/HEAD response of the test entity.
UserResourceTestBase::getExpectedNormalizedEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the expected normalization of the entity.
UserResourceTestBase::getExpectedUnauthorizedAccessMessage function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Return the expected error message.
UserResourceTestBase::getExpectedUnauthorizedEntityAccessCacheability function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php The cacheability of unauthorized 'view' entity access.
UserResourceTestBase::getNormalizedPostEntity function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Returns the normalized POST entity.
UserResourceTestBase::setUpAuthorization function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Sets up the necessary authorization.
UserResourceTestBase::testPatchDxForSecuritySensitiveBaseFields function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Tests PATCHing security-sensitive base fields of the logged in account.
UserResourceTestBase::testPatchSecurityOtherUser function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Tests PATCHing security-sensitive base fields to change other users.
UserResourceTestBase::userResourceTestBaseSkipTests function core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php Marks some tests as skipped because XML cannot be deserialized.
UserRole class core/modules/user/src/Plugin/Condition/UserRole.php Provides a 'User Role' condition.
UserRole.php file core/modules/user/src/Plugin/Condition/UserRole.php
UserRole::buildConfigurationForm function core/modules/user/src/Plugin/Condition/UserRole.php Form constructor.
UserRole::defaultConfiguration function core/modules/user/src/Plugin/Condition/UserRole.php Gets default configuration for this plugin.
UserRole::evaluate function core/modules/user/src/Plugin/Condition/UserRole.php Evaluates the condition and returns TRUE or FALSE accordingly.
UserRole::getCacheContexts function core/modules/user/src/Plugin/Condition/UserRole.php
UserRole::submitConfigurationForm function core/modules/user/src/Plugin/Condition/UserRole.php Form submission handler.

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