You are here

public function GoogleAnalyticsPath::getCacheMaxAge in Google Analytics Reports 8.3

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/argument_default/GoogleAnalyticsPath.php, line 60

Class

GoogleAnalyticsPath
Default argument plugin to use current page path as argument.

Namespace

Drupal\google_analytics_reports\Plugin\views\argument_default

Code

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