You are here

protected function EntityDefinitionTest::defaultCacheTags in GraphQL 8.4

Returns the default cache tags used in assertions for this test.

Return value

string[] The list of cache tags.

Overrides GraphQLTestBase::defaultCacheTags

File

tests/src/Kernel/DataProducer/EntityDefinitionTest.php, line 608

Class

EntityDefinitionTest
Test the entity_definition data producer and friends.

Namespace

Drupal\Tests\graphql\Kernel\DataProducer

Code

protected function defaultCacheTags() : array {
  $tags = parent::defaultCacheTags();
  $tags = array_merge($tags, $this->defaultCacheTags);
  return $tags;
}