function menu_get_active_help

×

Error message

User warning: The following module is missing from the file system: theme/theme. For information about how to fix this, see the documentation page. in _drupal_trigger_error_with_delayed_logging() (line 1156 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
cis7 menu.inc menu_get_active_help()
cle7 menu.inc menu_get_active_help()
elmsmedia7 menu.inc menu_get_active_help()
icor7 menu.inc menu_get_active_help()
meedjum_blog7 menu.inc menu_get_active_help()
mooc7 menu.inc menu_get_active_help()

Returns the help associated with the active menu item.

Related topics

2 calls to menu_get_active_help()
rubik_preprocess_help in sites/all/themes/ulmus/rubik/template.php
Preprocessor for theme('help').
system_block_view in modules/system/system.module
Implements hook_block_view().

File

includes/menu.inc, line 1708
API for the Drupal menu system.

Code

function menu_get_active_help() {
  $output = '';
  $router_path = menu_tab_root_path();
  // We will always have a path unless we are on a 403 or 404.
  if (!$router_path) {
    return '';
  }

  $arg = drupal_help_arg(arg(NULL));

  foreach (module_implements('help') as $module) {
    $function = $module . '_help';
    // Lookup help for this path.
    if ($help = $function($router_path, $arg)) {
      $output .= $help . "\n";
    }
  }
  return $output;
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.