Преглед на файлове

getpathtranslation invalid path temporary workarround

bach преди 4 години
родител
ревизия
88f7b8c285
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      web/modules/custom/materio_decoupled/src/Controller/MaterioDecoupledLanguageLinks.php

+ 2 - 2
web/modules/custom/materio_decoupled/src/Controller/MaterioDecoupledLanguageLinks.php

@@ -55,8 +55,8 @@ class MaterioDecoupledLanguageLinks extends ControllerBase {
     if (!$url_object) {
       // if path does not exists rtuen an error
       return new JsonResponse(array(
-        "links" = [],
-        "error" = "path {$path} is not valid"
+        "links" => [],
+        "error" => "path {$path} is not valid"
       ));
     }
     $route_name = $url_object->getRouteName();