X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FHook%2FDrupalBase.php;h=3ae3c1b045be35117eb50b7004e9f08b17937d4a;hb=a946aa64b981cfd2738fa06fa9ce34dd5b76f5f7;hp=4103689263e1a41691e909d802ebeab843e3ba26;hpb=e01a5ffed559ccb3a64fba29f0ca8964e00d3178;p=civicrm-core.git diff --git a/CRM/Utils/Hook/DrupalBase.php b/CRM/Utils/Hook/DrupalBase.php index 4103689263..3ae3c1b045 100644 --- a/CRM/Utils/Hook/DrupalBase.php +++ b/CRM/Utils/Hook/DrupalBase.php @@ -1,7 +1,7 @@ + * @return array|bool */ - function invoke($numParams, + function invoke( + $numParams, &$arg1, &$arg2, &$arg3, &$arg4, &$arg5, &$arg6, $fnSuffix) { @@ -83,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')) {