summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.module5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index d822f7ab7..e709df0e8 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -9,8 +9,8 @@
/**
* Implementation of hook_help().
*/
-function path_help($section) {
- switch ($section) {
+function path_help($path, $arg) {
+ switch ($path) {
case 'admin/help#path':
$output = '<p>'. t('The path module allows you to specify aliases for Drupal URLs. Such aliases improve readability of URLs for your users and may help internet search engines to index your content more effectively. More than one alias may be created for a given page.') .'</p>';
$output .= t('<p>Some examples of URL aliases are:</p>
@@ -26,7 +26,6 @@ function path_help($section) {
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="@path">Path page</a>.', array('@path' => 'http://drupal.org/handbook/modules/path/')) .'</p>';
return $output;
case 'admin/build/path':
- case 'admin/build/path/list':
return '<p>'. t("Drupal provides users complete control over URLs through aliasing. This feature is typically used to make URLs human-readable or easy to remember. For example, one could map the relative URL 'node/1' onto 'about'. Each system path can have multiple aliases.") .'</p>';
case 'admin/build/path/add':
return '<p>'. t('Enter the path you wish to create the alias for, followed by the name of the new alias.') .'</p>';