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

Breadcrumb

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

function TimeZoneCacheContext::getCacheableMetadata

Overrides CacheContextInterface::getCacheableMetadata

File

core/lib/Drupal/Core/Cache/Context/TimeZoneCacheContext.php, line 35

Class

TimeZoneCacheContext
Defines the TimeZoneCacheContext service, for "per time zone" caching.

Namespace

Drupal\Core\Cache\Context

Code

public function getCacheableMetadata() {
    return new CacheableMetadata();
}
RSS feed
Powered by Drupal