You are here

function hook_mmenu_extension in Mobile sliding menu 7.3

Allows modules to add more mmenu extensions. Refer to: http://mmenu.frebsite.nl/documentation/extensions.

1 function implements hook_mmenu_extension()

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

mmenu_mmenu_extension in ./mmenu.module
Implements hook_mmenu_extension(). Refer to: http://mmenu.frebsite.nl/documentation/extensions.
1 invocation of hook_mmenu_extension()
mmenu_extension_list in ./mmenu.module
Gets a list of available mmenu extensions.

File

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

Code

function hook_mmenu_extension() {
  $module_path = drupal_get_path('module', 'mmenu');
  return array(
    'themes' => array(
      'options' => array(
        'theme-custom' => array(
          'name' => 'theme-custom',
          'title' => t('Custom Theme'),
          'css' => array(
            $module_path . '/extensions/themes/theme-custom/styles/theme-custom.css',
          ),
        ),
      ),
    ),
  );
}