You are here

function responsive_menu_theme in Responsive and off-canvas menu 7.2

Same name and namespace in other branches
  1. 8.3 responsive_menu.module \responsive_menu_theme()
  2. 8.2 responsive_menu.module \responsive_menu_theme()
  3. 7.3 responsive_menu.module \responsive_menu_theme()
  4. 7 responsive_menu.module \responsive_menu_theme()
  5. 4.4.x responsive_menu.module \responsive_menu_theme()
  6. 4.0.x responsive_menu.module \responsive_menu_theme()
  7. 4.1.x responsive_menu.module \responsive_menu_theme()
  8. 4.3.x responsive_menu.module \responsive_menu_theme()

Implements hook_theme().

3 string references to 'responsive_menu_theme'
responsive_menu_settings_form in includes/responsive_menu.admin.inc
@file The settings form for the responsive menu module.
responsive_menu_settings_form_submit in includes/responsive_menu.admin.inc
Submit handler for the menu settings form.
template_preprocess_responsive_menu_block_wrapper in ./responsive_menu.module
Preprocess variables for responsive-menu-block-wrapper.tpl.php.

File

./responsive_menu.module, line 115

Code

function responsive_menu_theme($existing, $type, $theme, $path) {
  $return = array();
  $return['responsive_menu_block_wrapper'] = array(
    'template' => 'responsive-menu-block-wrapper',
    'variables' => array(
      'content' => array(),
    ),
    'path' => $path . '/theme',
  );
  $return['responsive_menu_link'] = array(
    'file' => 'theme/theme.inc',
    'render element' => 'element',
  );
  $return['responsive_menu_tree'] = array(
    'file' => 'theme/theme.inc',
    'render element' => 'tree',
  );
  $return['responsive_menu_overview_form'] = array(
    'file' => 'theme/theme.inc',
    'render element' => 'form',
  );
  $return['responsive_menu_block_toggle'] = array(
    'template' => 'responsive-menu-block-toggle',
    'variables' => array(),
    'path' => $path . '/theme',
  );
  return $return;
}