function 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 356

Class

QueryPluginBase
Base plugin class for Views queries.

Namespace

Drupal\views\Plugin\views\query

Code

public function getCacheTags() {
  return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.