You are here

public function Group::getCacheMaxAge in Organic groups 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

src/Plugin/views/argument_default/Group.php, line 92

Class

Group
Default argument plugin to provide the group from the current context.

Namespace

Drupal\og\Plugin\views\argument_default

Code

public function getCacheMaxAge() {
  return Cache::PERMANENT;
}