public function GroupIdFromUrl::getCacheMaxAge in Group 8
Same name and namespace in other branches
- 2.0.x src/Plugin/views/argument_default/GroupIdFromUrl.php \Drupal\group\Plugin\views\argument_default\GroupIdFromUrl::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/ GroupIdFromUrl.php, line 72
Class
- GroupIdFromUrl
- Default argument plugin to extract a group ID.
Namespace
Drupal\group\Plugin\views\argument_defaultCode
public function getCacheMaxAge() {
return Cache::PERMANENT;
}