public function UnchangingCacheableDependencyTrait::getCacheMaxAge in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php \Drupal\Core\Cache\UnchangingCacheableDependencyTrait::getCacheMaxAge()
File
- core/
lib/ Drupal/ Core/ Cache/ UnchangingCacheableDependencyTrait.php, line 34 - Contains \Drupal\Core\Cache\UnchangingCacheableDependencyTrait.
Class
- UnchangingCacheableDependencyTrait
- Trait to implement CacheableDependencyInterface for unchanging objects.
Namespace
Drupal\Core\CacheCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}