summaryrefslogtreecommitdiff
path: root/modules/php
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-06-30 19:46:58 +0000
commit9e6ef53c2c3f15ad580ebfe71b53899eb4683c11 (patch)
tree99f55c2dbe3537f9be7c8750424371f688e2f7b8 /modules/php
parent0995d62be320ced7c533d805fe887d78741bfbb8 (diff)
downloadbrdo-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/php')
-rw-r--r--modules/php/php.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/php/php.module b/modules/php/php.module
index fb6953cec..8251531ee 100644
--- a/modules/php/php.module
+++ b/modules/php/php.module
@@ -10,8 +10,8 @@
/**
* Implementation of hook_help().
*/
-function php_help($section) {
- switch ($section) {
+function php_help($path, $arg) {
+ switch ($path) {
case 'admin/help#php':
return t('Adds a filter option to include PHP in content.');
}