function DestinationMenuLink::getCacheMaxAge
Same name in other branches
- 5.x src/Plugin/Menu/DestinationMenuLink.php \Drupal\devel\Plugin\Menu\DestinationMenuLink::getCacheMaxAge()
@todo Make cacheable once https://www.drupal.org/node/2582797 lands.
Overrides MenuLinkBase::getCacheMaxAge
File
-
src/
Plugin/ Menu/ DestinationMenuLink.php, line 28
Class
- DestinationMenuLink
- Modifies the menu link to add destination.
Namespace
Drupal\devel\Plugin\MenuCode
public function getCacheMaxAge() {
return 0;
}