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

8.0.x
Nathaniel Catchpole 2015-08-24 08:35:26 +01:00
parent 8540c2f1c5
commit 019a759a93
1 changed files with 5 additions and 1 deletions

View File

@ -126,7 +126,11 @@ class ViewsUIController extends ControllerBase {
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'] = SafeMarkup::set(implode(', ', $row['views']));
$row['views']['data'] = [
'#theme' => 'item_list',
'#items' => $row['views'],
'#context' => ['list_style' => 'comma-list'],
];
}
// Sort rows by field name.