Search for source

  1. Search 7.x for source
  2. Search 9.5.x for source
  3. Search 10.3.x for source
  4. Search 11.x for source
  5. Other projects
Title Object type File name Summary
UserRegistrationResourceTest.php file core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php
UserRegistrationResourceTest::$currentUser property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php The current user.
UserRegistrationResourceTest::$logger property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Logger service.
UserRegistrationResourceTest::$reflection property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php A reflection of self::$testClass.
UserRegistrationResourceTest::$testClass property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Class to be tested.
UserRegistrationResourceTest::$userSettings property core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php A user settings config instance.
UserRegistrationResourceTest::ERROR_MESSAGE constant core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php
UserRegistrationResourceTest::setUp function core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php
UserRegistrationResourceTest::testEmptyPost function core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Tests that an exception is thrown when no data provided for the account.
UserRegistrationResourceTest::testExistedEntityPost function core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Tests that only new user accounts can be registered.
UserRegistrationResourceTest::testRegistrationAdminOnlyPost function core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Tests that admin permissions are required to register a user account.
UserRegistrationResourceTest::testRegistrationAnonymousOnlyPost function core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php Tests that only anonymous users can register users.
UserResourceTestBase class core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php
UserResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/User/UserResourceTestBase.php
UserResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/User/UserResourceTestBase.php
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. Some entities specify
a 'label_callback', but not a 'label' entity key. For example: User.
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.
UserTest::$resourceTypeName property core/modules/jsonapi/tests/src/Functional/UserTest.php The name of the tested JSON:API resource type.
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.
VariableMultiRowTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableMultiRowTest.php The data provider.
VariableTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/VariableTest.php The data provider.
VariableTranslationTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d6/VariableTranslationTest.php The data provider.
VariableTranslationTest::providerSource function core/modules/migrate_drupal/tests/src/Kernel/Plugin/migrate/source/d7/VariableTranslationTest.php The data provider.
VideoFile::createSourceField function core/modules/media/src/Plugin/media/Source/VideoFile.php Creates the source field definition for a type.
ViewModeTest::providerSource function core/modules/field/tests/src/Kernel/Plugin/migrate/source/d7/ViewModeTest.php The data provider.
ViewModeTest::providerSource function core/modules/node/tests/src/Kernel/Plugin/migrate/source/d6/ViewModeTest.php The data provider.
ViewResourceTestBase class core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
ViewResourceTestBase class core/modules/rest/tests/src/Functional/EntityResource/View/ViewResourceTestBase.php
ViewResourceTestBase.php file core/modules/rest/tests/src/Functional/EntityResource/View/ViewResourceTestBase.php
ViewResourceTestBase.php file core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
ViewResourceTestBase::$entity property core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php
ViewResourceTestBase::$entityTypeId property core/modules/views/tests/src/Functional/Rest/ViewResourceTestBase.php The tested entity type.

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