You are here

function help_main in Drupal 6

Same name and namespace in other branches
  1. 4 modules/help.module \help_main()
  2. 5 modules/help/help.module \help_main()
  3. 7 modules/help/help.admin.inc \help_main()

Menu callback; prints a page listing a glossary of Drupal terminology.

1 string reference to 'help_main'
help_menu in modules/help/help.module
Implementation of hook_menu().

File

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

Code

function help_main() {

  // Add CSS
  drupal_add_css(drupal_get_path('module', 'help') . '/help.css', 'module', 'all', FALSE);
  $output = '<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>' . help_links_as_list();
  return $output;
}