function RouteDetailMenuLink::getCacheMaxAge
Same name in other branches
- 5.x src/Plugin/Menu/RouteDetailMenuLink.php \Drupal\devel\Plugin\Menu\RouteDetailMenuLink::getCacheMaxAge()
Overrides MenuLinkBase::getCacheMaxAge
File
-
src/
Plugin/ Menu/ RouteDetailMenuLink.php, line 25
Class
- RouteDetailMenuLink
- Modifies the menu link to add current route path.
Namespace
Drupal\devel\Plugin\MenuCode
public function getCacheMaxAge() {
return 0;
}