You are here

function menu_icons_theme in Menu Icons 6

Same name and namespace in other branches
  1. 8 menu_icons.module \menu_icons_theme()
  2. 6.2 menu_icons.module \menu_icons_theme()
  3. 7.3 menu_icons.module \menu_icons_theme()

Implementation of hook_theme

File

./menu_icons.module, line 151
Module to associate icons with menu items

Code

function menu_icons_theme() {
  return array(
    'menu_icons_css_item' => array(
      'arguments' => array(
        'mlid' => NULL,
        'path' => NULL,
      ),
      'template' => 'menu_icons_css_item',
    ),
    'menu_icons' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'hide_children' => FALSE,
        'hide_titles' => FALSE,
      ),
    ),
    'menu_icons_tree' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'hide_children' => FALSE,
        'hide_titles' => FALSE,
      ),
    ),
    'menu_icons_build' => array(
      'arguments' => array(
        'menu' => NULL,
        'hide_children' => FALSE,
        'hide_titles' => FALSE,
      ),
    ),
    'menu_icons_primary_links' => array(
      'arguments' => array(
        'menu_name' => NULL,
        'hide_titles' => FALSE,
      ),
    ),
    'menu_icons_icon' => array(
      'arguments' => array(
        'icon',
      ),
    ),
  );
}