public function CacheableResponseInterface::getCacheableMetadata in Drupal 8
Same name and namespace in other branches
- 9 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 35
Class
- CacheableResponseInterface
- Defines an interface for responses that can expose cacheability metadata.
Namespace
Drupal\Core\CacheCode
public function getCacheableMetadata();