You are here

public function CacheableResponseInterface::getCacheableMetadata in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Cache/CacheableResponseInterface.php \Drupal\Core\Cache\CacheableResponseInterface::getCacheableMetadata()

Returns the cacheability metadata for this response.

Return value

\Drupal\Core\Cache\CacheableMetadata

File

core/lib/Drupal/Core/Cache/CacheableResponseInterface.php, line 40
Contains \Drupal\Core\Cache\CacheableResponseInterface.

Class

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

Namespace

Drupal\Core\Cache

Code

public function getCacheableMetadata();