You are here

public function SecureLoginCacheableDependency::getCacheMaxAge in Secure Login 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/SecureLoginCacheableDependency.php, line 23

Class

SecureLoginCacheableDependency
Defines the SecureLoginCacheableDependency.

Namespace

Drupal\securelogin

Code

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