From 9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Sat, 30 Jun 2007 19:46:58 +0000 Subject: #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 --- modules/drupal/drupal.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/drupal/drupal.module') 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 = '

'. 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.') .'

'; $output .= t('

Enabling the Drupal module will allow you to:

-- cgit v1.2.3