function hook_mmenu_class_alter in Mobile sliding menu 7
Allows modules to alter mmenu class settings.
1 invocation of hook_mmenu_class_alter()
- mmenu_class_list in ./
mmenu.module - Gets a list of available mmenu classes.
File
- ./
mmenu.api.php, line 83 - Hooks provided by mmenu module.
Code
function hook_mmenu_class_alter(&$classes) {
$module_path = drupal_get_path('module', 'mmenu');
$classes['mm-basic']['css'] = array(
$module_path . '/classes/mm-basic/css/custom.css',
);
}