You are here

function hook_mmenu_effect_alter in Mobile sliding menu 7

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

Allows modules to alter mmenu effect settings.

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

File

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

Code

function hook_mmenu_effect_alter(&$effects) {
  $module_path = drupal_get_path('module', 'mmenu');
  $classes['mm-slide']['css'] = array(
    $module_path . '/effects/mm-slide/css/custom.css',
  );
}