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

Breadcrumb

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

function PathParentCacheContext::getCacheableMetadata

Overrides CacheContextInterface::getCacheableMetadata

File

core/lib/Drupal/Core/Cache/Context/PathParentCacheContext.php, line 37

Class

PathParentCacheContext
Defines a cache context service for path parents.

Namespace

Drupal\Core\Cache\Context

Code

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