1. 8.3.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheMaxAge
  2. 8.0.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheMaxAge
  3. 8.1.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheMaxAge
  4. 8.2.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheMaxAge
  5. 8.4.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php RefinableCacheableDependencyTrait::cacheMaxAge

Cache max-age.

Type: int

File

core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php, line 29

Class

RefinableCacheableDependencyTrait
Trait for \Drupal\Core\Cache\RefinableCacheableDependencyInterface.

Namespace

Drupal\Core\Cache

Code

protected $cacheMaxAge = Cache::PERMANENT;