public function ShsTermCacheDependency::getCacheTags in Simple hierarchical select 2.0.x
Same name and namespace in other branches
- 8 src/Cache/ShsTermCacheDependency.php \Drupal\shs\Cache\ShsTermCacheDependency::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.
Overrides CacheableDependencyInterface::getCacheTags
File
- src/
Cache/ ShsTermCacheDependency.php, line 32
Class
- ShsTermCacheDependency
- Cacheable dependency object for term data.
Namespace
Drupal\shs\CacheCode
public function getCacheTags() {
return Cache::mergeTags($this->tags, \Drupal::entityTypeManager()
->getDefinition('taxonomy_term')
->getListCacheTags());
}