You are here

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