Loading core/modules/views/src/ViewExecutable.php +2 −3 Original line number Diff line number Diff line Loading @@ -1924,9 +1924,8 @@ public function hasUrl($args = NULL, $display_id = NULL) { // Look up the route name to make sure it exists. The name may exist, but // not be available yet in some instances when editing a view and doing // a live preview. $provider = \Drupal::service('router.route_provider'); try { $provider->getRouteByName($display_handler->getRouteName()); $this->routeProvider->getRouteByName($display_handler->getRouteName()); } catch (RouteNotFoundException $e) { return FALSE; Loading Loading
core/modules/views/src/ViewExecutable.php +2 −3 Original line number Diff line number Diff line Loading @@ -1924,9 +1924,8 @@ public function hasUrl($args = NULL, $display_id = NULL) { // Look up the route name to make sure it exists. The name may exist, but // not be available yet in some instances when editing a view and doing // a live preview. $provider = \Drupal::service('router.route_provider'); try { $provider->getRouteByName($display_handler->getRouteName()); $this->routeProvider->getRouteByName($display_handler->getRouteName()); } catch (RouteNotFoundException $e) { return FALSE; Loading