function RefinableCacheableDependencyTrait::mergeCacheMaxAge
1 call to RefinableCacheableDependencyTrait::mergeCacheMaxAge()
- RefinableCacheableDependencyTrait::addCacheableDependency in core/
lib/ Drupal/ Core/ Cache/ RefinableCacheableDependencyTrait.php  
File
- 
              core/
lib/ Drupal/ Core/ Cache/ RefinableCacheableDependencyTrait.php, line 51  
Class
- RefinableCacheableDependencyTrait
 - Trait for \Drupal\Core\Cache\RefinableCacheableDependencyInterface.
 
Namespace
Drupal\Core\CacheCode
public function mergeCacheMaxAge($max_age) {
  $this->cacheMaxAge = Cache::mergeMaxAges($this->cacheMaxAge, $max_age);
  return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.