ViewUI::getCacheMaxAge

public ViewUI::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

core/modules/views_ui/src/ViewUI.php, line 1241

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function getCacheMaxAge() {
  return $this->storage->getCacheMaxAge();
}
doc_Drupal
2016-10-29 09:55:55
Comments
Leave a Comment

Please login to continue.