From: Jon goldberg Date: Sat, 26 Mar 2016 04:20:03 +0000 (-0400) Subject: CRM-18298 - hook_geocoderFormat - Define hook X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=e6209c6e8fb9ab658ec9d6a79671a00e6277797a;p=civicrm-core.git CRM-18298 - hook_geocoderFormat - Define hook --- diff --git a/CRM/Utils/Hook.php b/CRM/Utils/Hook.php index 4b3770b6cd..d8c817f092 100644 --- a/CRM/Utils/Hook.php +++ b/CRM/Utils/Hook.php @@ -2106,4 +2106,17 @@ abstract class CRM_Utils_Hook { ); } + /** + * This hook is called when a geocoder's format method is called. + * + * @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, + 'civicrm_geocoderFormat' + ); + } + }