public function CacheableTestDomainObject::getCacheMaxAge in Zircon Profile 8.0
Same name and namespace in other branches
- 8 core/modules/system/tests/modules/early_rendering_controller_test/src/CacheableTestDomainObject.php \Drupal\early_rendering_controller_test\CacheableTestDomainObject::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
- core/
modules/ system/ tests/ modules/ early_rendering_controller_test/ src/ CacheableTestDomainObject.php, line 31 - Contains \Drupal\early_rendering_controller_test\CacheableTestDomainObject.
Class
Namespace
Drupal\early_rendering_controller_testCode
public function getCacheMaxAge() {
return 0;
}