You are here

public function DestinationMenuLink::getCacheMaxAge in Devel 8.3

Same name and namespace in other branches
  1. 8 src/Plugin/Menu/DestinationMenuLink.php \Drupal\devel\Plugin\Menu\DestinationMenuLink::getCacheMaxAge()
  2. 8.2 src/Plugin/Menu/DestinationMenuLink.php \Drupal\devel\Plugin\Menu\DestinationMenuLink::getCacheMaxAge()
  3. 4.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;
}