3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
6 | This code is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * Settings metadata file
22 'address_standardization_provider' => [
23 'group_name' => 'Address Preferences',
25 'name' => 'address_standardization_provider',
27 'html_type' => 'select',
30 'title' => ts('Address Standardization Provider.'),
31 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::addressProvider'],
34 'help_text' => 'CiviCRM includes an optional plugin for interfacing with the United States Postal Services (USPS) Address Standardization web service. You must register to use the USPS service at https://www.usps.com/business/web-tools-apis/address-information.htm. If you are approved, they will provide you with a User ID and the URL for the service. Plugins for other address standardization services may be available from 3rd party developers. If installed, they will be included in the drop-down below. ',
36 'address_standardization_userid' => [
37 'group_name' => 'Address Preferences',
39 'name' => 'address_standardization_userid',
41 'html_type' => 'text',
44 'title' => ts('Provider service user ID'),
49 'address_standardization_url' => [
50 'group_name' => 'Address Preferences',
52 'name' => 'address_standardization_url',
54 'html_type' => 'text',
57 'title' => ts('Provider Service URL'),
60 'help_text' => 'Web Service URL',
61 'validate_callback' => 'CRM_Utils_Rule::url',
63 'hideCountryMailingLabels' => [
64 'group_name' => 'Address Preferences',
66 'name' => 'hideCountryMailingLabels',
68 'quick_form_type' => 'YesNo',
71 'title' => ts('Hide Country in Mailing Labels when same as domain country'),
74 'description' => ts('Do not display the country field in mailing labels when the country is the same as that of the domain'),