help_main

Versions
4.6 – 7
help_main()

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

Code

modules/help/help.admin.inc, line 11

<?php
function help_main() {
  // Add CSS
  drupal_add_css(drupal_get_path('module', 'help') . '/help.css', array('preprocess' => FALSE));
  $output = '<h2>' . t('Help topics') . '</h2><p>' . t('Help is available on the following items:') . '</p>' . help_links_as_list();
  return $output;
}
?>
Login or register to post comments
 
 

All source code and documentation on this site is released under the terms of the GNU General Public License, version 2 and later. Drupal is a registered trademark of Dries Buytaert.