You are here

public function FilterPluginBase::getCacheTags in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::getCacheTags()
  2. 10 core/modules/views/src/Plugin/views/filter/FilterPluginBase.php \Drupal\views\Plugin\views\filter\FilterPluginBase::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 call to FilterPluginBase::getCacheTags()
ModerationStateFilter::getCacheTags in core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
The cache tags associated with this object.
1 method overrides FilterPluginBase::getCacheTags()
ModerationStateFilter::getCacheTags in core/modules/content_moderation/src/Plugin/views/filter/ModerationStateFilter.php
The cache tags associated with this object.

File

core/modules/views/src/Plugin/views/filter/FilterPluginBase.php, line 1642

Class

FilterPluginBase
Base class for Views filters handler plugins.

Namespace

Drupal\views\Plugin\views\filter

Code

public function getCacheTags() {
  return [];
}