You are here

public function HelpTopicSection::getCacheContexts in Drupal 8

Same name and namespace in other branches
  1. 9 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();
}