function Context::getCacheTags
The cache tags associated with this object.
When this object is modified, these cache tags will be invalidated.
Return value
list<string> A set of cache tags.
Overrides CacheableDependencyInterface::getCacheTags
File
-
core/
lib/ Drupal/ Core/ Plugin/ Context/ Context.php, line 160
Class
- Context
- A Drupal specific context wrapper class.
Namespace
Drupal\Core\Plugin\ContextCode
public function getCacheTags() {
return $this->cacheabilityMetadata
->getCacheTags();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.