You are here

public function Subscribe::getCacheMaxAge in Mailing List 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/Subscribe.php, line 116

Class

Subscribe
Views access plugin that provides access for mailing list subscribers.

Namespace

Drupal\mailing_list\Plugin\views\access

Code

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