Commit 019a759a authored by catch's avatar catch

Issue #2555809 by stefan.r: Remove SafeMarkup::set in ViewsUIController::reportPlugins()

parent 8540c2f1
...@@ -126,7 +126,11 @@ public function reportPlugins() { ...@@ -126,7 +126,11 @@ public function reportPlugins() {
foreach ($row['views'] as $row_name => $view) { foreach ($row['views'] as $row_name => $view) {
$row['views'][$row_name] = $this->l($view, new Url('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'])); $row['views']['data'] = [
'#theme' => 'item_list',
'#items' => $row['views'],
'#context' => ['list_style' => 'comma-list'],
];
} }
// Sort rows by field name. // Sort rows by field name.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment