Skip to content
Snippets Groups Projects
Commit 7d93903f authored by Radu Andrei Simileanu's avatar Radu Andrei Simileanu Committed by Michael Mol
Browse files

Issue #2762487 by radu.simileanu, willzyx, joegraduate, chrisshattuck,...

Issue #2762487 by radu.simileanu, willzyx, joegraduate, chrisshattuck, Marty2081, michaelmol, SchnWalter, Dries Arnolds, thamas: Conflicts with core "Configuration translation" module
parent 146571e6
No related branches found
No related tags found
2 merge requests!14Draft: Automated Project Update Bot fixes,!1Change the label class to be sr-only
......@@ -191,7 +191,7 @@ class CoffeeController extends ControllerBase {
// calculate the local tasks outside of parent route context.
$child_route_parameters = $child->getRouteParameters($route_match) + $route_parameters;
if ($this->accessManager->checkNamedRoute($child_route_name, $child_route_parameters)) {
if (strpos($child_route_name, 'config_translate') !== FALSE && $this->accessManager->checkNamedRoute($child_route_name, $child_route_parameters)) {
$links[$child_route_name] = [
'title' => $child->getTitle(),
'url' => Url::fromRoute($child_route_name, $child_route_parameters),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment