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

Breadcrumb

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

function UnchangingCacheableDependencyTrait::getCacheContexts

1 method overrides UnchangingCacheableDependencyTrait::getCacheContexts()
HelpTopicSection::getCacheContexts in core/modules/help/src/Plugin/HelpSection/HelpTopicSection.php

File

core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php, line 15

Class

UnchangingCacheableDependencyTrait
Trait to implement CacheableDependencyInterface for unchanging objects.

Namespace

Drupal\Core\Cache

Code

public function getCacheContexts() {
    return [];
}

API Navigation

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