Menu.php: Add classes for nav-items to only be shown on mobile
This commit is contained in:
parent
04199915fe
commit
c68fbb662e
|
@ -33,6 +33,7 @@ class Menu extends Navigation
|
||||||
'priority' => 10
|
'priority' => 10
|
||||||
]);
|
]);
|
||||||
$this->addItem('system', [
|
$this->addItem('system', [
|
||||||
|
'cssClass' => 'system-nav-item',
|
||||||
'label' => t('System'),
|
'label' => t('System'),
|
||||||
'icon' => 'services',
|
'icon' => 'services',
|
||||||
'priority' => 700,
|
'priority' => 700,
|
||||||
|
@ -74,6 +75,7 @@ class Menu extends Navigation
|
||||||
]
|
]
|
||||||
]);
|
]);
|
||||||
$this->addItem('configuration', [
|
$this->addItem('configuration', [
|
||||||
|
'cssClass' => 'configuration-nav-item',
|
||||||
'label' => t('Configuration'),
|
'label' => t('Configuration'),
|
||||||
'icon' => 'wrench',
|
'icon' => 'wrench',
|
||||||
'permission' => 'config/*',
|
'permission' => 'config/*',
|
||||||
|
|
Loading…
Reference in New Issue