function DestinationMenuLink::getCacheMaxAge

Same name in other branches
  1. 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\Menu

Code

public function getCacheMaxAge() {
    return 0;
}