public function RenderStack::getCacheMaxAge in Render cache 7.2
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides CacheableInterface::getCacheMaxAge
File
- src/
Cache/ RenderStack.php, line 38 - Contains \Drupal\render_cache\Cache\RenderStack
Class
- RenderStack
- Defines the RenderStack service.
Namespace
Drupal\render_cache\CacheCode
public function getCacheMaxAge() {
return 600;
}