public function DestinationMenuLink::getCacheMaxAge in Devel 8
Same name and namespace in other branches
- 8.3 src/Plugin/Menu/DestinationMenuLink.php \Drupal\devel\Plugin\Menu\DestinationMenuLink::getCacheMaxAge()
- 8.2 src/Plugin/Menu/DestinationMenuLink.php \Drupal\devel\Plugin\Menu\DestinationMenuLink::getCacheMaxAge()
- 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\MenuCode
public function getCacheMaxAge() {
return 0;
}