You are here

function jump_menu_theme_registry_alter in Better Jump Menus 8

Same name and namespace in other branches
  1. 7 jump_menu.module \jump_menu_theme_registry_alter()

Alter theme registration to allow overriding select theme function, to allow for extra attributes within options through form API. This is to add depth classes.

File

./jump_menu.module, line 235
Make use of the CTools jump menu and grabs from an existing menu. See: modules/ctools/includes/jump-menu.inc NOTE: Menu items must be checked as "expanded" for traversing to work.

Code

function jump_menu_theme_registry_alter(&$theme_registry) {
  $theme_registry['select']['function'] = 'jump_menu_select';
}