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

@@ -37,7 +37,10 @@ class AdminMenuBuilder implements LocalMenuBuilderInterface
'route' => 'chill_thirdparty_admin_index',
])
->setAttribute('class', 'list-group-item-header')
->setExtras(['order' => 3000]);
->setExtras([
'order' => 3000,
'icons' => ['male'],
]);
$menu->addChild('Third party category', [
'route' => 'chill_crud_thirdparty_thirdparty-category_index',