You are here

function _menu_minipanels_link_class_name in Menu Minipanels 7

Same name and namespace in other branches
  1. 6 menu_minipanels.module \_menu_minipanels_link_class_name()

Seperated out as it may be called independantly by our function that intercepts theme_links

1 call to _menu_minipanels_link_class_name()
_menu_minipanels_include in ./menu_minipanels.module
When a minipanel menu item is detected by our theme interception functions this function is used to add the appropriate configuration javascript and minipanel output.

File

./menu_minipanels.module, line 464
Allows an administrator to specify a minipanel to be associated with a Drupal menu item. When that menu item is hovered or clicked (as per config), the minipanel content will be shown using the qTip javascript library.

Code

function _menu_minipanels_link_class_name($minipanel_name) {
  return 'menu-minipanel menu-minipanel-' . $minipanel_name;
}