function FileHalJsonAnonTest::getExpectedCacheTags

The expected cache tags for the GET/HEAD response of the test entity.

Return value

string[]

Overrides EntityResourceTestBase::getExpectedCacheTags

File

core/modules/file/tests/src/Functional/Hal/FileHalJsonAnonTest.php, line 106

Class

FileHalJsonAnonTest
@group hal

Namespace

Drupal\Tests\file\Functional\Hal

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.