public function PathContext::getCacheMaxAge in Acquia Lift Connector 8.4
Same name and namespace in other branches
- 8.3 src/Service/Context/PathContext.php \Drupal\acquia_lift\Service\Context\PathContext::getCacheMaxAge()
The maximum age for which this object may be cached.
Return value
int The maximum time in seconds that this object may be cached.
Overrides CacheableDependencyInterface::getCacheMaxAge
File
- src/
Service/ Context/ PathContext.php, line 192
Class
Namespace
Drupal\acquia_lift\Service\ContextCode
public function getCacheMaxAge() {
return $this->settings
->getCacheMaxAge();
}