You are here

public function PluginId::getCacheTags in Plugin 8.2

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 FilterPluginBase::getCacheTags

File

src/Plugin/views/filter/PluginId.php, line 104

Class

PluginId
Provides a Views filter for plugin IDs.

Namespace

Drupal\plugin\Plugin\views\filter

Code

public function getCacheTags() {
  return $this
    ->getCacheableMetadata()
    ->getCacheTags();
}