function RefinableCacheableDependencyTrait::mergeCacheMaxAge
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php \Drupal\Core\Cache\RefinableCacheableDependencyTrait::mergeCacheMaxAge()
- 10 core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php \Drupal\Core\Cache\RefinableCacheableDependencyTrait::mergeCacheMaxAge()
- 11.x core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php \Drupal\Core\Cache\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.