Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. HelpTopicTwig.php

function HelpTopicTwig::getCacheMaxAge

Overrides CacheableDependencyInterface::getCacheMaxAge

File

core/modules/help/src/HelpTopicTwig.php, line 76

Class

HelpTopicTwig
Represents a help topic plugin whose definition comes from a Twig file.

Namespace

Drupal\help

Code

public function getCacheMaxAge() {
    return Cache::PERMANENT;
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal