ts('Country - Address Format', ['domain' => 'com.megaphonetech.addressl10n']), 'name' => 'country_address_format', 'url' => CRM_Utils_System::url('civicrm/country/addressformat', 'reset=1', TRUE), 'active' => 1, 'operator' => NULL, 'permission' => 'administer CiviCRM', ]); _addressl10n_civix_navigationMenu($menu); } /** * Implements hook_civicrm_apiWrappers(). * * @link http://wiki.civicrm.org/confluence/display/CRMDOC/hook_civicrm_apiWrappers * */ function addressl10n_civicrm_apiWrappers(&$wrappers, $apiRequest) { if (strtolower($apiRequest['entity']) == 'addressformat' && $apiRequest['action'] == 'create') { $wrappers[] = new CRM_AddressFormat_APIWrapper(); } }