function UnchangingCacheableDependencyTrait::getCacheTags

Same name and namespace in other branches
  1. 8.9.x core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheTags()
  2. 10 core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheTags()
  3. 11.x core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheTags()
1 method overrides UnchangingCacheableDependencyTrait::getCacheTags()
HelpTopicSection::getCacheTags in core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php

File

core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php, line 22

Class

UnchangingCacheableDependencyTrait
Trait to implement CacheableDependencyInterface for unchanging objects.

Namespace

Drupal\Core\Cache

Code

public function getCacheTags() {
    return [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.