function CacheableDependencyTrait::getCacheMaxAge
Same name in other branches
- 9 core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheMaxAge()
- 8.9.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheMaxAge()
- 11.x core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php \Drupal\Core\Cache\CacheableDependencyTrait::getCacheMaxAge()
4 methods override CacheableDependencyTrait::getCacheMaxAge()
- AccessResult::getCacheMaxAge in core/
lib/ Drupal/ Core/ Access/ AccessResult.php - CacheableMetadata::getCacheMaxAge in core/
lib/ Drupal/ Core/ Cache/ CacheableMetadata.php - ConfigBase::getCacheMaxAge in core/
lib/ Drupal/ Core/ Config/ ConfigBase.php - EntityBase::getCacheMaxAge in core/
lib/ Drupal/ Core/ Entity/ EntityBase.php
File
-
core/
lib/ Drupal/ Core/ Cache/ CacheableDependencyTrait.php, line 63
Class
Namespace
Drupal\Core\CacheCode
public function getCacheMaxAge() {
return $this->cacheMaxAge;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.