You are here

protected function BlockContentResourceTestBase::getExpectedCacheTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php \Drupal\Tests\block_content\Functional\Rest\BlockContentResourceTestBase::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/block_content/tests/src/Functional/Rest/BlockContentResourceTestBase.php, line 192

Class

BlockContentResourceTestBase
ResourceTestBase for BlockContent entity.

Namespace

Drupal\Tests\block_content\Functional\Rest

Code

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