Disabling the 'dashboard' path from storm routing

This commit is contained in:
Manuel Cillero 2017-08-07 23:37:17 +02:00
parent 7baa51d5a8
commit 955390e3ec

View file

@ -1194,7 +1194,7 @@ function storm_storm_dashboard_links($type) {
* @return array * @return array
*/ */
function storm_storm_dashboard_types() { function storm_storm_dashboard_types() {
return array( return array( /*
'page' => array( 'page' => array(
// URL: menu path which should be used, if omitted no menu item will be created // URL: menu path which should be used, if omitted no menu item will be created
'url' => 'dashboard', 'url' => 'dashboard',
@ -1210,7 +1210,7 @@ function storm_storm_dashboard_types() {
'title' => t('SuiteDesk'), 'title' => t('SuiteDesk'),
'description' => t('SuiteDesk dashboard'), 'description' => t('SuiteDesk dashboard'),
), ),
), ), */
'block' => array( 'block' => array(
'title' => 'Dashboard block', 'title' => 'Dashboard block',
'description' => t('You can disable or reorder the links from the dashboard !block here', array('!block' => l(t('block'), 'admin/build/block'))), 'description' => t('You can disable or reorder the links from the dashboard !block here', array('!block' => l(t('block'), 'admin/build/block'))),