You are here

public function ProfileOwner::getCacheMaxAge in Profile 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/ProfileOwner.php, line 71

Class

ProfileOwner
Default argument plugin to extract a user from a profile.

Namespace

Drupal\profile\Plugin\views\argument_default

Code

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