admin: add fa icons to menu section title

This commit is contained in:
nobohan
2022-05-10 15:21:29 +02:00
parent fde1d563c2
commit f4652adbc2
12 changed files with 48 additions and 13 deletions

View File

@@ -38,8 +38,10 @@ class AdminLanguageMenuBuilder implements LocalMenuBuilderInterface
'route' => 'chill_main_language_admin',
])
->setAttribute('class', 'list-group-item-header')
->setExtras(['order' => 1200]);
->setExtras([
'order' => 1200,
'icons' => ['globe-w'],
]);
$menu->addChild('Language list', [
'route' => 'chill_crud_main_language_index',
])->setExtras(['order' => 1210]);