CRM-18298 - hook_geocoderFormat - Add a param for geocoding provider
authorJon goldberg <jon@palantetech.coop>
Sat, 26 Mar 2016 04:23:50 +0000 (00:23 -0400)
committerJon goldberg <jon@palantetech.coop>
Mon, 18 Apr 2016 19:48:20 +0000 (15:48 -0400)
CRM/Utils/Hook.php

index d8c817f0921b09e9b17ce861d10fe6c7f0c4412b..7ac73c056fcbe88e49bfb7d5fd6ae15e5fe6a9fc 100644 (file)
@@ -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'
     );
   }