+--------------------------------------------------------------------+
| CiviCRM version 5 |
+--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2017 |
+ | Copyright CiviCRM LLC (c) 2004-2019 |
+--------------------------------------------------------------------+
| This file is a part of CiviCRM. |
| |
/**
*
* @package CRM
- * @copyright CiviCRM LLC (c) 2004-2017
- * $Id$
- *
+ * @copyright CiviCRM LLC (c) 2004-2019
*/
-/*
+
+/**
* Settings metadata file
*/
return array(
'group' => 'address',
'name' => 'address_standardization_provider',
'type' => 'String',
- 'html_type' => 'Select',
+ 'html_type' => 'select',
'default' => NULL,
'add' => '4.1',
- 'title' => 'Address Standardization Provider.',
+ 'title' => ts('Address Standardization Provider.'),
+ 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::addressProvider'],
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'group' => 'address',
'name' => 'address_standardization_userid',
'type' => 'String',
- 'html_type' => 'Text',
+ 'html_type' => 'text',
'default' => NULL,
'add' => '4.1',
- 'title' => 'Web service user ID',
+ 'title' => ts('Provider service user ID'),
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'group' => 'address',
'name' => 'address_standardization_url',
'type' => 'Text',
- 'html_type' => 'Text',
+ 'html_type' => 'text',
'default' => NULL,
'add' => '4.1',
- 'title' => 'Web Service URL',
+ 'title' => ts('Provider Service URL'),
'is_domain' => 1,
'is_contact' => 0,
'description' => NULL,
'quick_form_type' => 'YesNo',
'default' => 0,
'add' => '4.7',
- 'title' => 'Hide Country in Mailing Labels when same as domain country',
+ 'title' => ts('Hide Country in Mailing Labels when same as domain country'),
'is_domain' => 1,
'is_contact' => 0,
'description' => 'Do not display the country field in mailing labels when the country is the same as that of the domain',