Web/Menu: move "About" to config section

This is IMO never worth a main menu entry, at least not in it's current
implementation and look-a-like.
This commit is contained in:
Thomas Gelf 2015-06-16 00:18:31 +02:00
parent edf8bcca4b
commit 56d67def00
1 changed files with 4 additions and 5 deletions

View File

@ -264,6 +264,10 @@ class Menu implements RecursiveIterator
'permission' => 'config/modules',
'priority' => 890
));
$section->add(t('About'), array(
'url' => 'about',
'priority' => 895
));
$section = $this->add($auth->getUser()->getUsername(), array(
'icon' => 'user',
@ -279,11 +283,6 @@ class Menu implements RecursiveIterator
'priority' => 990,
'renderer' => 'ForeignMenuItemRenderer'
));
$this->add(t('About'), array(
'url' => 'about',
'priority' => 1000
));
}
}