CacheableDependencyTrait::$cacheMaxAge
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheMaxAge
- 10 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheMaxAge
- 11.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::cacheMaxAge
Cache max-age.
Type: int
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheableDependencyTrait.php, line 29
Class
Namespace
Drupal\Core\CacheCode
protected $cacheMaxAge = Cache::PERMANENT;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.