diff --git a/core/modules/config_translation/src/ConfigMapperInterface.php b/core/modules/config_translation/src/ConfigMapperInterface.php index c79c650..390f8cc 100644 --- a/core/modules/config_translation/src/ConfigMapperInterface.php +++ b/core/modules/config_translation/src/ConfigMapperInterface.php @@ -64,7 +64,7 @@ public function getBaseRoute(); public function getBasePath(); /** - * Returns route name for the edit route. + * Returns route name for the base configuration edit form route. * * @return string * Route name for the mapper. @@ -72,14 +72,14 @@ public function getBasePath(); public function getBaseEditRouteName(); /** - * Returns the route parameters for the edit form route. + * Returns the route parameters for the base configuration edit form route. * * @return array */ public function getBaseEditRouteParameters(); /** - * Returns the route object for the edit form route. + * Returns the route object for the base configuration edit form route. * * @return \Symfony\Component\Routing\Route * The route object for the translation page. diff --git a/core/modules/config_translation/src/Controller/ConfigTranslationController.php b/core/modules/config_translation/src/Controller/ConfigTranslationController.php index c9eb31f..c2bc7d0 100644 --- a/core/modules/config_translation/src/Controller/ConfigTranslationController.php +++ b/core/modules/config_translation/src/Controller/ConfigTranslationController.php @@ -168,7 +168,7 @@ public function itemPage(Request $request, RouteMatchInterface $route_match, $pl // Check access for the path/route for editing, so we can decide to // include a link to edit or not. - $edit_access = $this->accessManager->checkNamedRoute($mapper->getBaseRouteName(), $route_match->getRawParameters()->all(), $this->account); + $edit_access = $this->accessManager->checkNamedRoute($mapper->getBaseEditRouteName(), $route_match->getRawParameters()->all(), $this->account); // Build list of operations. $operations = array();