function responsive_menu_theme in Responsive and off-canvas menu 7.2
Same name and namespace in other branches
- 8.3 responsive_menu.module \responsive_menu_theme()
- 8.2 responsive_menu.module \responsive_menu_theme()
- 7.3 responsive_menu.module \responsive_menu_theme()
- 7 responsive_menu.module \responsive_menu_theme()
- 4.4.x responsive_menu.module \responsive_menu_theme()
- 4.0.x responsive_menu.module \responsive_menu_theme()
- 4.1.x responsive_menu.module \responsive_menu_theme()
- 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;
}