function CacheableDependencyInterface::getCacheTags

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
  2. 10 core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
  3. 11.x core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php \Drupal\Core\Cache\CacheableDependencyInterface::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.

27 methods override CacheableDependencyInterface::getCacheTags()
ArgumentPluginBase::getCacheTags in core/modules/views/src/Plugin/views/argument/ArgumentPluginBase.php
The cache tags associated with this object.
BulkForm::getCacheTags in core/modules/views/src/Plugin/views/field/BulkForm.php
The cache tags associated with this object.
CacheableMetadataCalculationTest::getCacheTags in core/modules/views/tests/modules/views_test_cacheable_metadata_calculation/src/Plugin/views/access/CacheableMetadataCalculationTest.php
The cache tags associated with this object.
ComputedString::getCacheTags in core/modules/system/tests/modules/entity_test/src/TypedData/ComputedString.php
The cache tags associated with this object.
Context::getCacheTags in core/lib/Drupal/Core/Plugin/Context/Context.php
The cache tags associated with this object.

... See full list

File

core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php, line 42

Class

CacheableDependencyInterface
Defines an interface for objects which may be used by other cached objects.

Namespace

Drupal\Core\Cache

Code

public function getCacheTags();

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