diff --git a/core/modules/config_translation/src/ConfigNamesMapper.php b/core/modules/config_translation/src/ConfigNamesMapper.php index 9e57344..ed796af 100644 --- a/core/modules/config_translation/src/ConfigNamesMapper.php +++ b/core/modules/config_translation/src/ConfigNamesMapper.php @@ -201,7 +201,7 @@ protected function processRoute(Route $route) { * {@inheritdoc} */ public function getBasePath() { - return Url::fromRoute($this->getBaseRouteName(), $this->getBaseRouteParameters())->toString(); + return Url::fromRoute($this->getBaseRouteName(), $this->getBaseRouteParameters())->getInternalPath(); } /** @@ -238,7 +238,7 @@ public function getOverviewRoute() { * {@inheritdoc} */ public function getOverviewPath() { - return Url::fromRoute($this->getOverviewRouteName(), $this->getOverviewRouteParameters())->toString(); + return Url::fromRoute($this->getOverviewRouteName(), $this->getOverviewRouteParameters())->getInternalPath(); } /**