From 51a6720f04a4937fc16f45408f6066d32a5eb4f5 Mon Sep 17 00:00:00 2001
From: Alex Pott <alex.a.pott@googlemail.com>
Date: Wed, 1 Oct 2014 16:03:00 +0200
Subject: [PATCH] Issue #2347987 by martin107: Fixed Broken l() in
 reportPlugin.

---
 core/modules/views_ui/src/Controller/ViewsUIController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/modules/views_ui/src/Controller/ViewsUIController.php b/core/modules/views_ui/src/Controller/ViewsUIController.php
index 7991e30af202..0cfc3dcbb8da 100644
--- a/core/modules/views_ui/src/Controller/ViewsUIController.php
+++ b/core/modules/views_ui/src/Controller/ViewsUIController.php
@@ -120,7 +120,7 @@ public function reportPlugins() {
     foreach ($rows as &$row) {
       // Link each view name to the view itself.
       foreach ($row['views'] as $row_name => $view) {
-        $row['views'][$row_name] = $this->l($view, 'entity.view.edit_form', array('view' => $view));
+        $row['views'][$row_name] = $this->l($view, new Url('entity.view.edit_form', array('view' => $view)));
       }
       $row['views'] = SafeMarkup::set(implode(', ', $row['views']));
     }
-- 
GitLab