You are here

function _menu_minipanels_link_class_name in Menu Minipanels 6

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

Seperated out as it may be called independently by our function that intercepts theme_links().

2 calls to _menu_minipanels_link_class_name()
menu_minipanels_theme_links in ./menu_minipanels.module
This replacement theme function adds minipanels support to theme_links() without disturbing themes that may also implement this theme function.
_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 550
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;
}