You are here

public function ShsTermCacheDependency::getCacheMaxAge in Simple hierarchical select 2.0.x

Same name and namespace in other branches
  1. 8 src/Cache/ShsTermCacheDependency.php \Drupal\shs\Cache\ShsTermCacheDependency::getCacheMaxAge()

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/Cache/ShsTermCacheDependency.php, line 39

Class

ShsTermCacheDependency
Cacheable dependency object for term data.

Namespace

Drupal\shs\Cache

Code

public function getCacheMaxAge() {
  return $this->maxAge;
}