Menu.php: Add classes for nav-items to only be shown on mobile

This commit is contained in:
Florian Strohmaier 2022-04-06 15:23:17 +02:00
parent 04199915fe
commit c68fbb662e
1 changed files with 2 additions and 0 deletions

View File

@ -33,6 +33,7 @@ class Menu extends Navigation
'priority' => 10
]);
$this->addItem('system', [
'cssClass' => 'system-nav-item',
'label' => t('System'),
'icon' => 'services',
'priority' => 700,
@ -74,6 +75,7 @@ class Menu extends Navigation
]
]);
$this->addItem('configuration', [
'cssClass' => 'configuration-nav-item',
'label' => t('Configuration'),
'icon' => 'wrench',
'permission' => 'config/*',