UserRegistrationResourceTest::testRegistrationAnonymousOnlyPost |
function |
core/modules/user/tests/src/Unit/UserRegistrationResourceTest.php |
Tests that only anonymous users can register users. |
UserRegistrationRestTest |
class |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Tests registration of user using REST. |
UserRegistrationRestTest.php |
file |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
|
UserRegistrationRestTest::$auth |
property |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
The authentication mechanism to use in this test. |
UserRegistrationRestTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
The theme to install as the default for testing. |
UserRegistrationRestTest::$entityTypeId |
property |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Entity type ID for this storage. |
UserRegistrationRestTest::$modules |
property |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Modules to install. |
UserRegistrationRestTest::$resourceConfigId |
property |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
The REST Resource Config entity ID under test (i.e. a resource type). |
UserRegistrationRestTest::assertNormalizationEdgeCases |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Asserts normalization-specific edge cases. |
UserRegistrationRestTest::createRequestBody |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Create the request body. |
UserRegistrationRestTest::createRequestOptions |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Helper function to generate the request body. |
UserRegistrationRestTest::getExpectedUnauthorizedAccessCacheability |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Returns the expected cacheability of an unauthorized access response. |
UserRegistrationRestTest::getExpectedUnauthorizedAccessMessage |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Return the expected error message. |
UserRegistrationRestTest::registerRequest |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Make a REST user registration request. |
UserRegistrationRestTest::registerUser |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Registers a user via REST resource. |
UserRegistrationRestTest::setUp |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
|
UserRegistrationRestTest::setUpAuthorization |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Sets up the necessary authorization. |
UserRegistrationRestTest::testRegisterUser |
function |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
Tests that only anonymous users can register users. |
UserRegistrationRestTest::TEST_EMAIL_DOMAIN |
constant |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
|
UserRegistrationRestTest::USER_EMAIL_DOMAIN |
constant |
core/modules/user/tests/src/Functional/UserRegistrationRestTest.php |
|
UserRegistrationTest |
class |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Tests registration of user under different configurations. |
UserRegistrationTest.php |
file |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
|
UserRegistrationTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
The theme to install as the default for testing. |
UserRegistrationTest::$modules |
property |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Modules to install. |
UserRegistrationTest::assertRegistrationFormCacheTagsWithUserFields |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Asserts the presence of cache tags on registration form with user fields. |
UserRegistrationTest::testRegistrationDefaultValues |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
|
UserRegistrationTest::testRegistrationEmailDuplicates |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
|
UserRegistrationTest::testRegistrationWithEmailVerification |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
|
UserRegistrationTest::testRegistrationWithoutEmailVerification |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
|
UserRegistrationTest::testRegistrationWithUserFields |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Tests Field API fields on user registration forms. |
UserRegistrationTest::testUniqueFields |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Tests username and email field constraints on user registration. |
UserRegistrationTest::testUuidFormState |
function |
core/modules/user/tests/src/Functional/UserRegistrationTest.php |
Tests that UUID isn't cached in form state on register form. |
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/Functional/UserRequirementsTest.php |
Tests the requirements checks of the User module. |
UserRequirementsTest.php |
file |
core/modules/user/tests/src/Functional/UserRequirementsTest.php |
|
UserRequirementsTest::$defaultTheme |
property |
core/modules/user/tests/src/Functional/UserRequirementsTest.php |
The theme to install as the default for testing. |
UserRequirementsTest::testAnonymousUser |
function |
core/modules/user/tests/src/Functional/UserRequirementsTest.php |
Tests that the requirements check can detect a missing anonymous user. |
UserResourceTestBase |
class |
core/modules/user/tests/src/Functional/Rest/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. |
UserResourceTestBase::$modules |
property |
core/modules/user/tests/src/Functional/Rest/UserResourceTestBase.php |
Modules to install. |