help_links_as_list

function help_links_as_list

help_links_as_list()

Provides a formatted list of available help topics.

Return value

A string containing the formatted list.

File

modules/help/help.admin.inc, line 58
Admin page callbacks for the help module.

Code

function help_links_as_list() {
  $empty_arg = drupal_help_arg();
  $module_info = system_rebuild_module_data();

  $modules = array();
  foreach (module_implements('help', TRUE) as $module) {
    if (module_invoke($module, 'help', "admin/help#$module", $empty_arg)) {
      $modules[$module] = $module_info[$module]->info['name'];
    }
  }
  asort($modules);

  // Output pretty four-column list.
  $count = count($modules);
  $break = ceil($count / 4);
  $output = '<div class="clearfix"><div class="hel