function TestCacheableDependency::getCacheMaxAge
Same name in other branches
- 9 core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheMaxAge()
- 8.9.x core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheMaxAge()
- 11.x core/tests/Drupal/Tests/Core/Render/TestCacheableDependency.php \Drupal\Tests\Core\Render\TestCacheableDependency::getCacheMaxAge()
Overrides CacheableDependencyInterface::getCacheMaxAge
File
-
core/
tests/ Drupal/ Tests/ Core/ Render/ TestCacheableDependency.php, line 41
Class
- TestCacheableDependency
- Cacheable dependency object for use in tests.
Namespace
Drupal\Tests\Core\RenderCode
public function getCacheMaxAge() {
return $this->maxAge;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.