You are here

function ctools_menu_help in Chaos Tool Suite (ctools) 6

Theme override to use CTools to call help instead of the basic call.

This is used only to try and improve performance; this calls through to the same functions that tabs do and executes a complex build. By overriding this to use the CTools version, we can prevent this query from being run twice on the same page.

1 string reference to 'ctools_menu_help'
ctools_theme_registry_alter in includes/utility.inc
Implementation of hook_theme_registry_alter()

File

includes/menu.inc, line 434
General menu helper functions.

Code

function ctools_menu_help() {
  if ($help = ctools_menu_get_active_help()) {
    return '<div class="help">' . $help . '</div>';
  }
}