function hook_mmenu_effect_alter in Mobile sliding menu 7.2
Same name and namespace in other branches
- 8 mmenu.api.php \hook_mmenu_effect_alter()
- 7 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 116 - Hooks provided by mmenu module.
Code
function hook_mmenu_effect_alter(&$effects) {
$module_path = drupal_get_path('module', 'mmenu');
$effects['mm-slide']['css'] = array(
$module_path . '/effects/mm-slide/css/custom.css',
);
}