From: Jon goldberg Date: Sat, 26 Mar 2016 04:23:50 +0000 (-0400) Subject: CRM-18298 - hook_geocoderFormat - Add a param for geocoding provider X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=4b62bfd87d825bb1e47bb2a71d07bef21365bf74;p=civicrm-core.git CRM-18298 - hook_geocoderFormat - Add a param for geocoding provider --- diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index d8c817f092..7ac73c056f 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2109,12 +2109,13 @@ abstract class CRM_Utils_Hook { /** * This hook is called when a geocoder's format method is called. * + * @param string $geoProvider * @param array $values * @param SimpleXMLElement $xml */ - public static function geocoderFormat(&$values, $xml) { - return self::singleton()->invoke(2, $values, $xml, - self::$_nullObject, self::$_nullObject, self::$_nullObject, self::$_nullObject, + public static function geocoderFormat($geoProvider, &$values, $xml) { + return self::singleton()->invoke(3, $geoProvider, $values, $xml, + self::$_nullObject, self::$_nullObject, self::$_nullObject, 'civicrm_geocoderFormat' ); }