function CacheableDependencyInterface::getCacheTags
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
- 10 core/lib/Drupal/Core/Cache/CacheableDependencyInterface.php \Drupal\Core\Cache\CacheableDependencyInterface::getCacheTags()
- 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.
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\CacheCode
public function getCacheTags();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.