3 +--------------------------------------------------------------------+
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2019 |
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
31 * @copyright CiviCRM LLC (c) 2004-2019
35 * Settings metadata file
38 'address_standardization_provider' => array(
39 'group_name' => 'Address Preferences',
41 'name' => 'address_standardization_provider',
43 'html_type' => 'select',
46 'title' => ts('Address Standardization Provider.'),
47 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::addressProvider'],
50 'description' => NULL,
51 '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. ',
53 'address_standardization_userid' => array(
54 'group_name' => 'Address Preferences',
56 'name' => 'address_standardization_userid',
58 'html_type' => 'text',
61 'title' => ts('Provider service user ID'),
64 'description' => NULL,
67 'address_standardization_url' => array(
68 'group_name' => 'Address Preferences',
70 'name' => 'address_standardization_url',
72 'html_type' => 'text',
75 'title' => ts('Provider Service URL'),
78 'description' => NULL,
79 'help_text' => 'Web Service URL',
80 'validate_callback' => 'CRM_Utils_Rule::url',
82 'hideCountryMailingLabels' => array(
83 'group_name' => 'Address Preferences',
85 'name' => 'hideCountryMailingLabels',
87 'quick_form_type' => 'YesNo',
90 'title' => ts('Hide Country in Mailing Labels when same as domain country'),
93 'description' => 'Do not display the country field in mailing labels when the country is the same as that of the domain',