Search for %s

  1. Search 7.x for %s
  2. Search 9.5.x for %s
  3. Search 10.3.x for %s
  4. Search 11.x for %s
  5. Search main for %s
  6. Other projects
Title Object type File name Summary
UserSubAdminTest class core/modules/user/tests/src/Functional/UserSubAdminTest.php Test 'sub-admin' account with permission to edit some users but without 'administer users' permission.
UserSubAdminTest.php file core/modules/user/tests/src/Functional/UserSubAdminTest.php
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 enable.
UserSubAdminTest::testSubAdmin function core/modules/user/tests/src/Functional/UserSubAdminTest.php Test create and cancel forms as 'sub-admin'.
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Tests the d7_user source plugin.
UserTest class core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php @coversDefaultClass \Drupal\user\Entity\User[[api-linebreak]]
@group user
UserTest class core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Tests the d6_user source plugin.
UserTest class core/modules/jsonapi/tests/src/Functional/UserTest.php JSON:API integration test for the "User" content entity type.
UserTest.php file core/modules/jsonapi/tests/src/Functional/UserTest.php
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::$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 enable.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php Modules to enable.
UserTest::$modules property core/modules/user/tests/src/Kernel/Plugin/migrate/source/d6/UserTest.php Modules to enable.
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::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::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::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 The data provider.
UserTest::providerSource function core/modules/user/tests/src/Kernel/Plugin/migrate/source/d7/UserTest.php The data provider.
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::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.
UserTest::testQueryInvolvingRoles function core/modules/jsonapi/tests/src/Functional/UserTest.php Test good error DX when trying to filter users by role.
UserTest::testResaveAccountName function core/modules/jsonapi/tests/src/Functional/UserTest.php Tests users with altered display names.
UserTest::testUserGetRoles function core/modules/user/tests/src/Unit/Plugin/Core/Entity/UserTest.php Tests the method getRoles exclude or include locked roles based in param.
UserTestBase class core/modules/user/tests/src/Functional/Views/UserTestBase.php @todo.
UserTestBase.php file core/modules/user/tests/src/Functional/Views/UserTestBase.php
UserTestBase::$modules property core/modules/user/tests/src/Functional/Views/UserTestBase.php Modules to enable.
UserTestBase::$nodes property core/modules/user/tests/src/Functional/Views/UserTestBase.php Nodes to use during this test.

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