You are here

public function ReferenceViewBuilder::getCacheTags in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x modules/bibcite_entity/src/ReferenceViewBuilder.php \Drupal\bibcite_entity\ReferenceViewBuilder::getCacheTags()

The cache tag associated with this entity view builder.

An entity view builder is instantiated on a per-entity type basis, so the cache tags are also per-entity type.

Return value

array An array of cache tags.

Overrides EntityViewBuilder::getCacheTags

File

modules/bibcite_entity/src/ReferenceViewBuilder.php, line 95

Class

ReferenceViewBuilder
Reference entity view builder.

Namespace

Drupal\bibcite_entity

Code

public function getCacheTags() {
  return Cache::mergeTags(parent::getCacheTags(), [
    'config:bibcite_entity.reference.settings',
    'config:bibcite.settings',
  ]);
}