You are here

protected property ResourceTypeRepository::$cacheTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php \Drupal\jsonapi\ResourceType\ResourceTypeRepository::cacheTags
  2. 10 core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php \Drupal\jsonapi\ResourceType\ResourceTypeRepository::cacheTags

Cache tags used for caching the repository.

Type: string[]

File

core/modules/jsonapi/src/ResourceType/ResourceTypeRepository.php, line 83

Class

ResourceTypeRepository
Provides a repository of all JSON:API resource types.

Namespace

Drupal\jsonapi\ResourceType

Code

protected $cacheTags = [
  'jsonapi_resource_types',
  // Invalidate whenever field definitions are modified.
  'entity_field_info',
  // Invalidate whenever the set of bundles changes.
  'entity_bundles',
  // Invalidate whenever the set of entity types changes.
  'entity_types',
];