Error message

You are browsing documentation for drupal 7.x, which is not supported anymore. Read the updated version of this page for drupal 11.x (the latest version).

function drupal_help_arg

Generates elements for the $arg array in the help hook.

Related topics

Menu system
Define the navigation menus, and route page requests to code based on URLs.
5 calls to drupal_help_arg()
help_links_as_list in modules/help/help.admin.inc
Provides a formatted list of available help topics.
help_page in modules/help/help.admin.inc
Menu callback; prints a page listing general help for a module.
menu_get_active_help in includes/menu.inc
Returns the help associated with the active menu item.
search-results.tpl.php in modules/search/search-results.tpl.php
Default theme implementation for displaying search results.
system_modules in modules/system/system.admin.inc
Menu callback; provides module enable/disable interface.

File

includes/menu.inc, line 1724

Code

function drupal_help_arg ($arg = array()) {
 // Note - the number of empty elements should be > MENU_MAX_PARTS.
 return $arg + array(
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 '',
 );
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.