function CommentResourceTestBase::getExpectedCacheTags
Same name and namespace in other branches
- 9 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::getExpectedCacheTags()
- 8.9.x core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::getExpectedCacheTags()
- 10 core/modules/comment/tests/src/Functional/Rest/CommentResourceTestBase.php \Drupal\Tests\comment\Functional\Rest\CommentResourceTestBase::getExpectedCacheTags()
The expected cache tags for the GET/HEAD response of the test entity.
Return value
string[] The expected cache tags.
Overrides EntityResourceTestBase::getExpectedCacheTags
File
-
core/
modules/ comment/ tests/ src/ Functional/ Rest/ CommentResourceTestBase.php, line 283
Class
- CommentResourceTestBase
- Resource test base for the comment entity.
Namespace
Drupal\Tests\comment\Functional\RestCode
protected function getExpectedCacheTags() {
return Cache::mergeTags(parent::getExpectedCacheTags(), [
'config:filter.format.plain_text',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.