You are here

public function HelpTopicTwig::getCacheTags in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/HelpTopicTwig.php \Drupal\help_topics\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',
  ];
}