public function UncacheableDependencyTrait::getCacheMaxAge in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Core/Cache/UncacheableDependencyTrait.php \Drupal\Core\Cache\UncacheableDependencyTrait::getCacheMaxAge()
File
- core/
lib/ Drupal/ Core/ Cache/ UncacheableDependencyTrait.php, line 31
Class
- UncacheableDependencyTrait
- Trait to implement CacheableDependencyInterface for uncacheable objects.
Namespace
Drupal\Core\CacheCode
public function getCacheMaxAge() {
return 0;
}