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

12 methods override CacheableDependencyInterface::getCacheTags()
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.
ExposedFormPluginBase::getCacheTags in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
The cache tags associated with this object.
LocalActionDefault::getCacheTags in core/lib/Drupal/Core/Menu/LocalActionDefault.php
The cache tags associated with this object.
LocalTaskDefault::getCacheTags in core/lib/Drupal/Core/Menu/LocalTaskDefault.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();