function CacheableDependencyTrait::getCacheTags
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
- 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
- 10 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheTags()
4 methods override CacheableDependencyTrait::getCacheTags()
- AccessResult::getCacheTags in core/
lib/ Drupal/ Core/ Access/ AccessResult.php - The cache tags associated with this object.
- CacheableMetadata::getCacheTags in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - The cache tags associated with this object.
- ConfigBase::getCacheTags in core/
lib/ Drupal/ Core/ Config/ ConfigBase.php - The cache tags associated with this object.
- EntityBase::getCacheTags in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php - The cache tags associated with this object.
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheableDependencyTrait.php, line 49
Class
- CacheableDependencyTrait
- Trait for <a href="/api/drupal/core%21lib%21Drupal%21Core%21Cache%21CacheableDependencyInterface.php/interface/CacheableDependencyInterface/11.x" title="Defines an interface for objects which may be used by other cached objects." class="local">\Drupal\Core\Cache\CacheableDependencyInterface</a>.
Namespace
Drupal\Core\CacheCode
public function getCacheTags() {
return $this->cacheTags;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.