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

Breadcrumb

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

function CacheableResponseInterface::getCacheableMetadata

Returns the cacheability metadata for this response.

Return value

\Drupal\Core\Cache\CacheableMetadata

File

core/lib/Drupal/Core/Cache/CacheableResponseInterface.php, line 35

Class

CacheableResponseInterface
Defines an interface for responses that can expose cacheability metadata.

Namespace

Drupal\Core\Cache

Code

public function getCacheableMetadata();
RSS feed
Powered by Drupal