public function TokenArgument::getCacheMaxAge in Views Token Argument 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/argument_default/TokenArgument.php \Drupal\views_argument_token\Plugin\views\argument_default\TokenArgument::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/
Plugin/ views/ argument_default/ TokenArgument.php, line 268
Class
- TokenArgument
- The Token argument default handler.
Namespace
Drupal\views_argument_token\Plugin\views\argument_defaultCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}