You are here

public function Scheduler::getCacheMaxAge in Scheduler 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/access/Scheduler.php, line 55

Class

Scheduler
Access plugin that provides access control for Scheduler.

Namespace

Drupal\scheduler\Plugin\views\access

Code

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