protected function RestJsonApiUnsupported::getExpectedUnauthorizedAccessCacheability in Drupal 10
Same name and namespace in other branches
- 8 core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::getExpectedUnauthorizedAccessCacheability()
- 9 core/modules/jsonapi/tests/src/Functional/RestJsonApiUnsupported.php \Drupal\Tests\jsonapi\Functional\RestJsonApiUnsupported::getExpectedUnauthorizedAccessCacheability()
File
- core/
modules/ jsonapi/ tests/ src/ Functional/ RestJsonApiUnsupported.php, line 128
Class
- RestJsonApiUnsupported
- Ensures that the 'api_json' format is not supported by the REST module.
Namespace
Drupal\Tests\jsonapi\FunctionalCode
protected function getExpectedUnauthorizedAccessCacheability() {
return new CacheableMetadata();
}