You are here

public function HelpTopicSection::getCacheContexts in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php \Drupal\help_topics\Plugin\HelpSection\HelpTopicSection::getCacheContexts()

Overrides UnchangingCacheableDependencyTrait::getCacheContexts

File

core/modules/help_topics/src/Plugin/HelpSection/HelpTopicSection.php, line 142

Class

HelpTopicSection
Provides the help topics list section for the help page.

Namespace

Drupal\help_topics\Plugin\HelpSection

Code

public function getCacheContexts() {
  return $this
    ->getCacheMetadata()
    ->getCacheContexts();
}