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\CacheCode
public function getCacheableMetadata();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.