You are here

public function HelpTopicSection::getCacheMaxAge 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::getCacheMaxAge()

Overrides UnchangingCacheableDependencyTrait::getCacheMaxAge

File

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

Class

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

Namespace

Drupal\help_topics\Plugin\HelpSection

Code

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