Loading core/lib/Drupal/Core/Url.php +1 −1 Original line number Diff line number Diff line Loading @@ -564,7 +564,7 @@ public function isRouted() { */ public function getRouteName() { if ($this->unrouted) { throw new \UnexpectedValueException('External URLs do not have an internal route name.'); throw new \UnexpectedValueException($this->getUri() . ' has no corresponding route.'); } return $this->routeName; Loading Loading
core/lib/Drupal/Core/Url.php +1 −1 Original line number Diff line number Diff line Loading @@ -564,7 +564,7 @@ public function isRouted() { */ public function getRouteName() { if ($this->unrouted) { throw new \UnexpectedValueException('External URLs do not have an internal route name.'); throw new \UnexpectedValueException($this->getUri() . ' has no corresponding route.'); } return $this->routeName; Loading