function hook_mmenu_icon in Mobile sliding menu 8
Same name and namespace in other branches
- 7.3 mmenu.api.php \hook_mmenu_icon()
- 7.2 mmenu.api.php \hook_mmenu_icon()
Allows modules to add more mmenu icon classes.
1 function implements hook_mmenu_icon()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- mmenu_mmenu_icon in ./
mmenu.module - Implements hook_mmenu_icon().
1 invocation of hook_mmenu_icon()
- mmenu_icon_list in ./
mmenu.module - Gets a list of available mmenu icons.
File
- ./
mmenu.api.php, line 107 - Hooks provided by mmenu module.
Code
function hook_mmenu_icon() {
$icons = array(
'path' => array(
'home' => 'icon-home',
'about' => 'icon-office',
'contact' => 'icon-envelope',
),
'block' => array(
array(
'module' => 'system',
'delta' => 'main-menu',
'icon_class' => 'icon-enter',
),
),
);
return $icons;
}