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 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
UserSubAdminTest::$defaultTheme property core/modules/user/tests/src/Functional/UserSubAdminTest.php The theme to install as the default for testing.
UserSubAdminTest::$modules property core/modules/user/tests/src/Functional/UserSubAdminTest.php Modules to install.
UserSubAdminTest::testSubAdmin function core/modules/user/tests/src/Functional/UserSubAdminTest.php Tests create and cancel forms as 'sub-admin'.
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Tests the d6_user source plugin.
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Tests the d7_user source plugin.
UserTest class core/modules/jsonapi/tests/src/Functional/UserTest.php JSON:API integration test for the "User" content entity type.
UserTest class core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php @coversDefaultClass \Drupal\user\Entity\User
@group user
UserTest.php file core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php
UserTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php
UserTest.php file core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php
UserTest.php file core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::$anonymousUsersCanViewLabels property core/modules/jsonapi/tests/src/Functional/UserTest.php Whether anonymous users can view labels of this resource type.
UserTest::$defaultTheme property core/modules/jsonapi/tests/src/Functional/UserTest.php The theme to install as the default for testing.
UserTest::$entity property core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::$entityTypeId property core/modules/jsonapi/tests/src/Functional/UserTest.php The tested entity type.
UserTest::$firstCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php The entity ID for the first created entity in testPost().
UserTest::$labelFieldName property core/modules/jsonapi/tests/src/Functional/UserTest.php Specify which field is the 'label' field for testing a POST edge case.
UserTest::$modules property core/modules/jsonapi/tests/src/Functional/UserTest.php Modules to install.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Modules to install.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Modules to install.
UserTest::$patchProtectedFieldNames property core/modules/jsonapi/tests/src/Functional/UserTest.php The fields that are protected against modification during PATCH requests.
UserTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/UserTest.php The name of the tested JSON:API resource type.
UserTest::$secondCreatedEntityId property core/modules/jsonapi/tests/src/Functional/UserTest.php The entity ID for the second created entity in testPost().
UserTest::assertRpcLogin function core/modules/jsonapi/tests/src/Functional/UserTest.php Verifies that logging in with the given username and password works.
UserTest::BATCH_TEST_NODE_COUNT constant core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::createAnotherEntity function core/modules/jsonapi/tests/src/Functional/UserTest.php Creates another entity to be tested.
UserTest::createEntity function core/modules/jsonapi/tests/src/Functional/UserTest.php Creates the entity to be tested.
UserTest::createUserSession function core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php Setups a user session for the test.
UserTest::doTestDeleteIndividual function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests DELETEing an individual resource, plus edge cases to ensure good DX.
UserTest::getExpectedCacheContexts function core/modules/jsonapi/tests/src/Functional/UserTest.php The expected cache contexts for the GET/HEAD response of the test entity.
UserTest::getExpectedDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the expected JSON:API document for the entity.
UserTest::getExpectedUnauthorizedAccessMessage function core/modules/jsonapi/tests/src/Functional/UserTest.php Return the expected error message.
UserTest::getModifiedEntityForPostTesting function core/modules/jsonapi/tests/src/Functional/UserTest.php Gets the normalized POST entity with random values for its unique fields.
UserTest::getPatchDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the JSON:API PATCH document.
UserTest::getPostDocument function core/modules/jsonapi/tests/src/Functional/UserTest.php Returns the JSON:API POST document.
UserTest::makeNormalizationInvalid function core/modules/jsonapi/tests/src/Functional/UserTest.php Makes the given JSON:API document invalid.
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php
UserTest::sendDeleteRequestForUser function core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::setUpAuthorization function core/modules/jsonapi/tests/src/Functional/UserTest.php Sets up the necessary authorization.
UserTest::testCollectionContainsAnonymousUser function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests that the collection contains the anonymous user.
UserTest::testCollectionFilterAccess function core/modules/jsonapi/tests/src/Functional/UserTest.php
UserTest::testDeleteRespectsUserCancelBlock function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block.
UserTest::testDeleteRespectsUserCancelBlockUnpublish function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block_unpublish.
UserTest::testDeleteRespectsUserCancelBlockUnpublishAndProcessesBatches function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_block_unpublish.
@group jsonapi
UserTest::testDeleteRespectsUserCancelDelete function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_delete.
UserTest::testDeleteRespectsUserCancelReassign function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests if JSON:API respects user.settings.cancel_method: user_cancel_reassign.
UserTest::testGetMailFieldOnlyVisibleToOwner function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests GETting privacy-sensitive base fields.
UserTest::testPatchDxForSecuritySensitiveBaseFields function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests PATCHing security-sensitive base fields of the logged in account.
UserTest::testPatchSecurityOtherUser function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests PATCHing security-sensitive base fields to change other users.

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