function UserRegistrationRestTest::getExpectedUnauthorizedAccessCacheability
Same name in other branches
- 10 core/modules/user/tests/src/Functional/UserRegistrationRestTest.php \Drupal\Tests\user\Functional\UserRegistrationRestTest::getExpectedUnauthorizedAccessCacheability()
- 11.x core/modules/user/tests/src/Functional/UserRegistrationRestTest.php \Drupal\Tests\user\Functional\UserRegistrationRestTest::getExpectedUnauthorizedAccessCacheability()
Overrides ResourceTestBase::getExpectedUnauthorizedAccessCacheability
File
-
core/
modules/ user/ tests/ src/ Functional/ UserRegistrationRestTest.php, line 266
Class
- UserRegistrationRestTest
- Tests registration of user using REST.
Namespace
Drupal\Tests\user\FunctionalCode
protected function getExpectedUnauthorizedAccessCacheability() {
return new CacheableMetadata();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.