You are here

public function ConfigBase::getCacheMaxAge in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Config/ConfigBase.php \Drupal\Core\Config\ConfigBase::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 RefinableCacheableDependencyTrait::getCacheMaxAge

File

core/lib/Drupal/Core/Config/ConfigBase.php, line 276
Contains \Drupal\Core\Config\ConfigBase.

Class

ConfigBase
Provides a base class for configuration objects with get/set support.

Namespace

Drupal\Core\Config

Code

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