You are here

function jump_menu_preprocess_block in Better Jump Menus 7

For killing off the title.

File

./jump_menu.module, line 199
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_preprocess_block(&$vars, $hook) {

  // Kill off the title if set. It's being used as the choose value.
  if ($vars['block']->module == 'jump_menu' && $vars['block']->title) {
    $vars['block']->subject = '';
  }
}