help_links_as_list

Versions
4.6 – 7
help_links_as_list()

▾ 1 function calls help_links_as_list()

help_main in modules/help.module
Menu callback; prints a page listing a glossary of Drupal terminology.

Code

modules/help.module, line 68

<?php
function help_links_as_list() {
  $output = '<ul>';
  foreach (module_list() as $name) {
    if (module_hook($name, 'help')) {
      if (module_invoke($name, 'help', "admin/help#$name")) {
        $output .= '<li><a href="' . url("admin/help/$name") . '">' . t($name) . '</a></li>';
      }
    }
  }
  $output .= '</ul>';
  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.