You are here

protected function TermResourceTestBase::getExpectedCacheTags in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/taxonomy/tests/src/Functional/Rest/TermResourceTestBase.php \Drupal\Tests\taxonomy\Functional\Rest\TermResourceTestBase::getExpectedCacheTags()
  2. 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

TermResourceTestBase

Namespace

Drupal\Tests\taxonomy\Functional\Rest

Code

protected function getExpectedCacheTags() {
  return Cache::mergeTags(parent::getExpectedCacheTags(), [
    'config:filter.format.plain_text',
    'config:filter.settings',
  ]);
}