From e6209c6e8fb9ab658ec9d6a79671a00e6277797a Mon Sep 17 00:00:00 2001 From: Jon goldberg Date: Sat, 26 Mar 2016 00:20:03 -0400 Subject: [PATCH] CRM-18298 - hook_geocoderFormat - Define hook --- CRM/Utils/Hook.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) 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' + ); + } + } -- 2.25.1