protected function TermResourceTestBase::getExpectedCacheTags in Drupal 10
Same name and namespace in other branches
- 8 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::getExpectedCacheTags()
- 9 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::getExpectedCacheTags()
The expected cache tags for the GET/HEAD response of the test entity.
Return value
string[]
Overrides EntityResourceTestBase::getExpectedCacheTags
See also
::testGet
File
- core/
modules/ taxonomy/ tests/ src/ Functional/ Rest/ TermResourceTestBase.php, line 316
Class
Namespace
Drupal\Tests\taxonomy\Functional\RestCode
protected function getExpectedCacheTags() {
return Cache::mergeTags(parent::getExpectedCacheTags(), [
'config:filter.format.plain_text',
'config:filter.settings',
]);
}