You are here

public function DomainAccessContent::getCacheMaxAge in Domain Access 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

domain_access/src/Plugin/views/access/DomainAccessContent.php, line 152

Class

DomainAccessContent
Access plugin that provides domain-editing access control.

Namespace

Drupal\domain_access\Plugin\views\access

Code

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