public function Date::getCacheMaxAge in Calendar 8
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
- calendar_datetime/
src/ Plugin/ views/ argument_default/ Date.php, line 102
Class
- Date
- The current date argument default handler.
Namespace
Drupal\calendar_datetime\Plugin\views\argument_defaultCode
public function getCacheMaxAge() {
return 0;
}