You are here

public function Menu::getCacheMaxAge in Menu Entity Index 8

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/Menu.php, line 95

Class

Menu
The menu argument default handler.

Namespace

Drupal\menu_entity_index\Plugin\views\argument_default

Code

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