X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHook%2FDrupalBase.php;h=02ef926108f5268eb7b244673fbb0369ddff1eab;hb=f377f10d244045a52b5891bdeedc823b3988bd7c;hp=f63a3f2586b5eb1e0dc7434999f36313d00c5150;hpb=d69fa047cdc76b337124f93354abb2e1bf207a58;p=civicrm-core.git diff --git a/CRM/Utils/Hook/DrupalBase.php b/CRM/Utils/Hook/DrupalBase.php index f63a3f2586..02ef926108 100644 --- a/CRM/Utils/Hook/DrupalBase.php +++ b/CRM/Utils/Hook/DrupalBase.php @@ -1,7 +1,7 @@ + * @return array|bool */ - function invoke($numParams, + public function invoke( + $numParams, &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6, $fnSuffix) { @@ -82,7 +90,7 @@ class CRM_Utils_Hook_DrupalBase extends CRM_Utils_Hook { /** * Build the list of modules to be processed for hooks. */ - function buildModuleList() { + public function buildModuleList() { if ($this->isBuilt === FALSE) { if ($this->drupalModules === NULL) { if (function_exists('module_list')) { @@ -121,4 +129,5 @@ class CRM_Utils_Hook_DrupalBase extends CRM_Utils_Hook { } } } + }