*
* Settings metadata file
*/
-return array(
- 'geoAPIKey' => array(
+return [
+ 'geoAPIKey' => [
'add' => '4.7',
'help_text' => NULL,
'is_domain' => 1,
'type' => 'String',
'quick_form_type' => 'Element',
'html_type' => 'text',
- 'html_attributes' => array(
+ 'html_attributes' => [
'size' => '32',
'maxlength' => '64',
- ),
+ ],
'default' => NULL,
'title' => 'Geo Provider Key',
- 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).',
- ),
- 'geoProvider' => array(
+ 'description' => 'Enter the API key or Application ID associated with your geocoding provider.',
+ ],
+ 'geoProvider' => [
'add' => '4.7',
'help_text' => NULL,
'is_domain' => 1,
'type' => 'String',
'quick_form_type' => 'Select',
'html_type' => 'Select',
- 'html_attributes' => array(
+ 'html_attributes' => [
'class' => 'crm-select2',
- ),
- 'pseudoconstant' => array(
+ ],
+ 'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::geoProvider',
- ),
+ ],
'default' => NULL,
'title' => 'Geocoding Provider',
'description' => 'This can be the same or different from the mapping provider selected.',
- ),
- 'mapAPIKey' => array(
+ ],
+ 'mapAPIKey' => [
'add' => '4.7',
'help_text' => NULL,
'is_domain' => 1,
'type' => 'String',
'quick_form_type' => 'Element',
'html_type' => 'text',
- 'html_attributes' => array(
+ 'html_attributes' => [
'size' => '32',
'maxlength' => '64',
- ),
+ ],
'default' => NULL,
'title' => 'Map Provider Key',
'description' => 'Enter your API Key or Application ID. An API Key is required for the Google Maps API. Refer to developers.google.com for the latest information.',
- ),
- 'mapProvider' => array(
+ ],
+ 'mapProvider' => [
'add' => '4.7',
'help_text' => NULL,
'is_domain' => 1,
'type' => 'String',
'quick_form_type' => 'Select',
'html_type' => 'Select',
- 'html_attributes' => array(
+ 'html_attributes' => [
'class' => 'crm-select2',
- ),
- 'pseudoconstant' => array(
+ ],
+ 'pseudoconstant' => [
'callback' => 'CRM_Core_SelectValues::mapProvider',
- ),
+ ],
'default' => NULL,
'title' => 'Mapping Provider',
'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.',
- ),
-);
+ ],
+];