function mmenu_mmenu in Mobile sliding menu 7
Same name and namespace in other branches
- 8 mmenu.module \mmenu_mmenu()
- 7.3 mmenu.module \mmenu_mmenu()
- 7.2 mmenu.module \mmenu_mmenu()
Implements hook_mmenu().
File
- ./
mmenu.module, line 140 - Primarily Drupal hooks and global API functions to manipulate mmenus.
Code
function mmenu_mmenu() {
return array(
'mmenu_left' => array(
'enabled' => FALSE,
'name' => 'mmenu_left',
'title' => t('Left menu'),
'blocks' => array(
array(
'title' => t('Main menu'),
'module' => 'system',
'delta' => 'main-menu',
'collapsed' => FALSE,
),
),
'options' => array(
'position' => 'left',
'classes' => 'mm-basic',
),
'configurations' => array(),
),
'mmenu_right' => array(
'enabled' => FALSE,
'name' => 'mmenu_right',
'title' => t('Right menu'),
'blocks' => array(
array(
'title' => t('Search'),
'module' => 'mmenu',
'delta' => 'search',
'collapsed' => FALSE,
'wrap' => TRUE,
),
array(
'title' => t('User menu'),
'module' => 'system',
'delta' => 'user-menu',
'collapsed' => FALSE,
),
),
'options' => array(
'position' => 'right',
'classes' => 'mm-basic',
),
'configurations' => array(),
),
'mmenu_top' => array(
'enabled' => FALSE,
'name' => 'mmenu_top',
'title' => t('Top menu'),
'blocks' => array(
array(
'title' => t('Log in'),
'module' => 'user',
'delta' => 'login',
'collapsed' => FALSE,
'wrap' => TRUE,
),
),
'options' => array(
'position' => 'top',
'classes' => 'mm-basic',
),
'configurations' => array(),
),
'mmenu_bottom' => array(
'enabled' => FALSE,
'name' => 'mmenu_bottom',
'title' => t('Bottom menu'),
'blocks' => array(
array(
'title' => t('Management'),
'module' => 'system',
'delta' => 'management',
'collapsed' => FALSE,
'menu_parameters' => array(
'min_depth' => 2,
),
),
),
'options' => array(
'position' => 'bottom',
'classes' => 'mm-basic',
),
'configurations' => array(),
),
);
}