diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-30 19:46:58 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-30 19:46:58 +0000 |
commit | 9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 (patch) | |
tree | 99f55c2dbe3537f9be7c8750424371f688e2f7b8 /modules/drupal | |
parent | 0995d62be320ced7c533d805fe887d78741bfbb8 (diff) | |
download | brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.gz brdo-9e6ef53c2c3f15ad580ebfe71b53899eb4683c11.tar.bz2 |
#154064 by pwolanin: get hook_help() up to speed to menu changes, allowing router path based lookups, and also full path argument lookup with a passed argument array
Diffstat (limited to 'modules/drupal')
-rw-r--r-- | modules/drupal/drupal.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module index a929889f9..63638523d 100644 --- a/modules/drupal/drupal.module +++ b/modules/drupal/drupal.module @@ -9,8 +9,8 @@ /** * Implementation of hook_help(). */ -function drupal_help($section) { - switch ($section) { +function drupal_help($path, $arg) { + switch ($path) { case 'admin/help#drupal': $output = '<p>'. t('The Drupal module uses the XML-RPC network communication protocol to connect your site with a central server that maintains a directory of client sites.') .'</p>'; $output .= t('<p>Enabling the Drupal module will allow you to:</p> |