abstract protected function QueryResultAssertionTrait::defaultCacheTags in GraphQL 8.4
Same name and namespace in other branches
- 8.3 tests/src/Traits/QueryResultAssertionTrait.php \Drupal\Tests\graphql\Traits\QueryResultAssertionTrait::defaultCacheTags()
Return the default cache cache tags for this test case.
Return value
string[] The default cache tags.
2 calls to QueryResultAssertionTrait::defaultCacheTags()
- QueryResultAssertionTrait::defaultCacheMetaData in tests/
src/ Traits/ QueryResultAssertionTrait.php - The default cache metadata object.
- QueryResultAssertionTrait::defaultMutationCacheMetaData in tests/
src/ Traits/ QueryResultAssertionTrait.php - The default mutation cache metadata object.
1 method overrides QueryResultAssertionTrait::defaultCacheTags()
- GraphQLTestBase::defaultCacheTags in tests/
src/ Kernel/ GraphQLTestBase.php - Returns the default cache tags used in assertions for this test.
File
- tests/
src/ Traits/ QueryResultAssertionTrait.php, line 40
Class
- QueryResultAssertionTrait
- Trait for easier assertion on GraphQL query results.
Namespace
Drupal\Tests\graphql\TraitsCode
protected abstract function defaultCacheTags();