' || $name === '') { // During the installer template_preprocess_page() uses the routing system // to determine the front page. At this point building the router for this // is unnecessary work. return new Route('/'); } return parent::getRouteByName($name); } }