You are here

function hook_mmenu_icon in Mobile sliding menu 7.3

Same name and namespace in other branches
  1. 8 mmenu.api.php \hook_mmenu_icon()
  2. 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 105
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;
}