function LayoutRestTestBase::getExpectedUnauthorizedAccessCacheability
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php \Drupal\Tests\layout_builder\Functional\Rest\LayoutRestTestBase::getExpectedUnauthorizedAccessCacheability()
- 8.9.x core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php \Drupal\Tests\layout_builder\Functional\Rest\LayoutRestTestBase::getExpectedUnauthorizedAccessCacheability()
- 11.x core/modules/layout_builder/tests/src/Functional/Rest/LayoutRestTestBase.php \Drupal\Tests\layout_builder\Functional\Rest\LayoutRestTestBase::getExpectedUnauthorizedAccessCacheability()
Overrides ResourceTestBase::getExpectedUnauthorizedAccessCacheability
File
-
core/
modules/ layout_builder/ tests/ src/ Functional/ Rest/ LayoutRestTestBase.php, line 132
Class
- LayoutRestTestBase
- Base class for Layout Builder REST tests.
Namespace
Drupal\Tests\layout_builder\Functional\RestCode
protected function getExpectedUnauthorizedAccessCacheability() {
return new CacheableMetadata();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.