You are here

public function QueryPluginBase::getCacheTags in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/query/QueryPluginBase.php \Drupal\views\Plugin\views\query\QueryPluginBase::getCacheTags()

The cache tags associated with this object.

When this object is modified, these cache tags will be invalidated.

Return value

string[] A set of cache tags.

Overrides CacheableDependencyInterface::getCacheTags

1 method overrides QueryPluginBase::getCacheTags()
Sql::getCacheTags in core/modules/views/src/Plugin/views/query/Sql.php
The cache tags associated with this object.

File

core/modules/views/src/Plugin/views/query/QueryPluginBase.php, line 351

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function getCacheTags() {
  return [];
}