You are here

function smartmenus_theme in Smartmenus.js 7

Same name and namespace in other branches
  1. 8 smartmenus.module \smartmenus_theme()

Implements hook_theme().

3 string references to 'smartmenus_theme'
smartmenus_block_view in ./smartmenus.module
Implements hook_block_view().
smartmenus_settings_form in ./smartmenus.admin.inc
Smartmenus settings form.
smartmenus_uninstall in ./smartmenus.install
Implements hook_uninstall().

File

./smartmenus.module, line 10
Integration with the Smartmenus jQuery plugin for responsive menus.

Code

function smartmenus_theme($existing, $type, $theme, $path) {
  return array(
    'smartmenus_menu' => array(
      'variables' => array(
        'tree' => array(),
        'attributes' => array(),
        'toggle' => TRUE,
      ),
      'file' => 'smartmenus.theme.inc',
    ),
    'smartmenus_menu_tree' => array(
      'variables' => array(
        'tree' => array(),
        'attributes' => array(),
      ),
      'file' => 'smartmenus.theme.inc',
    ),
    'smartmenus_toggle' => array(
      'variables' => array(
        'menu_id' => array(),
        'text' => '',
      ),
      'file' => 'smartmenus.theme.inc',
    ),
  );
}