public function HookMenu::getDestinationRoutes in Drupal 7 to 8/9 Module Upgrader 8
Returns the collection of routes in the destination.
Return value
RouterInterface The requested route collection.
File
- src/
Routing/ HookMenu.php, line 105
Class
- HookMenu
- This class is a conversion map for hook_menu().
Namespace
Drupal\drupalmoduleupgrader\RoutingCode
public function getDestinationRoutes() {
if (empty($this->destinationRoutes)) {
$this->destinationRoutes = $this
->buildDestinationRoutes();
}
return $this->destinationRoutes;
}