function RestRegisterUserTest::getExpectedUnauthorizedAccessCacheability

Returns the expected cacheability of an unauthorized access response.

Return value

\Drupal\Core\Cache\RefinableCacheableDependencyInterface The expected cacheability.

Overrides ResourceTestBase::getExpectedUnauthorizedAccessCacheability

File

core/modules/hal/tests/src/Functional/user/RestRegisterUserTest.php, line 270

Class

RestRegisterUserTest
Tests user registration via REST resource.

Namespace

Drupal\Tests\hal\Functional\user

Code

protected function getExpectedUnauthorizedAccessCacheability() {
}

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