diff --git a/core/modules/views_ui/src/Controller/ViewsUIController.php b/core/modules/views_ui/src/Controller/ViewsUIController.php index 7991e30af20..0cfc3dcbb8d 100644 --- a/core/modules/views_ui/src/Controller/ViewsUIController.php +++ b/core/modules/views_ui/src/Controller/ViewsUIController.php @@ -120,7 +120,7 @@ class ViewsUIController extends ControllerBase { 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'])); }