You are here

public function Random::getCacheMaxAge in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/sort/Random.php \Drupal\views\Plugin\views\sort\Random::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 SortPluginBase::getCacheMaxAge

File

core/modules/views/src/Plugin/views/sort/Random.php, line 39
Contains \Drupal\views\Plugin\views\sort\Random.

Class

Random
Handle a random sort.

Namespace

Drupal\views\Plugin\views\sort

Code

public function getCacheMaxAge() {
  return 0;
}