protected function UserRegistrationTest::assertRegistrationFormCacheTagsWithUserFields in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/user/src/Tests/UserRegistrationTest.php \Drupal\user\Tests\UserRegistrationTest::assertRegistrationFormCacheTagsWithUserFields()
Asserts the presence of cache tags on registration form with user fields.
1 call to UserRegistrationTest::assertRegistrationFormCacheTagsWithUserFields()
- UserRegistrationTest::testRegistrationWithUserFields in core/
modules/ user/ src/ Tests/ UserRegistrationTest.php - Tests Field API fields on user registration forms.
File
- core/
modules/ user/ src/ Tests/ UserRegistrationTest.php, line 386 - Contains \Drupal\user\Tests\UserRegistrationTest.
Class
- UserRegistrationTest
- Tests registration of user under different configurations.
Namespace
Drupal\user\TestsCode
protected function assertRegistrationFormCacheTagsWithUserFields() {
$this
->assertCacheTag('config:core.entity_form_display.user.user.register');
$this
->assertCacheTag('config:field.field.user.user.test_user_field');
$this
->assertCacheTag('config:field.storage.user.test_user_field');
$this
->assertCacheTag('config:user.settings');
}