You are here

function hook_mmenu_effect in Mobile sliding menu 7

Same name and namespace in other branches
  1. 8 mmenu.api.php \hook_mmenu_effect()
  2. 7.2 mmenu.api.php \hook_mmenu_effect()

Allows modules to add more mmenu effects.

1 function implements hook_mmenu_effect()

Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.

mmenu_mmenu_effect in ./mmenu.module
Implements hook_mmenu_effect().
1 invocation of hook_mmenu_effect()
mmenu_effect_list in ./mmenu.module
Gets a list of available mmenu effects.

File

./mmenu.api.php, line 93
Hooks provided by mmenu module.

Code

function hook_mmenu_effect() {
  $module_path = drupal_get_path('module', 'mmenu');
  return array(
    'mm-slide' => array(
      'name' => 'mm-slide',
      'title' => t('mm-slide'),
      'css' => array(
        $module_path . '/effects/mm-slide/css/mm-slide.css',
      ),
    ),
  );
}