function HelpTopicTwig::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

core/modules/help_topics/src/HelpTopicTwig.php, line 79

Class

HelpTopicTwig
Represents a help topic plugin whose definition comes from a Twig file.

Namespace

Drupal\help_topics

Code

public function getCacheTags() {
  return [
    'core.extension',
  ];
}

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