Commit | Line | Data |
---|---|---|
3784888f TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
fee14197 | 4 | | CiviCRM version 5 | |
3784888f | 5 | +--------------------------------------------------------------------+ |
6b83d5bd | 6 | | Copyright CiviCRM LLC (c) 2004-2019 | |
3784888f TO |
7 | +--------------------------------------------------------------------+ |
8 | | This file is a part of CiviCRM. | | |
9 | | | | |
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. | | |
13 | | | | |
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. | | |
18 | | | | |
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 | +--------------------------------------------------------------------+ | |
26 | */ | |
27 | ||
28 | /** | |
29 | * | |
30 | * @package CRM | |
6b83d5bd | 31 | * @copyright CiviCRM LLC (c) 2004-2019 |
3784888f TO |
32 | * $Id$ |
33 | * | |
34 | * Settings metadata file | |
35 | */ | |
dfe1f88a CW |
36 | return [ |
37 | 'geoAPIKey' => [ | |
3784888f | 38 | 'add' => '4.7', |
3784888f TO |
39 | 'help_text' => NULL, |
40 | 'is_domain' => 1, | |
41 | 'is_contact' => 0, | |
42 | 'group_name' => 'Map Preferences', | |
43 | 'group' => 'map', | |
44 | 'name' => 'geoAPIKey', | |
45 | 'type' => 'String', | |
46 | 'quick_form_type' => 'Element', | |
47 | 'html_type' => 'text', | |
dfe1f88a | 48 | 'html_attributes' => [ |
3784888f TO |
49 | 'size' => '32', |
50 | 'maxlength' => '64', | |
dfe1f88a | 51 | ], |
3784888f TO |
52 | 'default' => NULL, |
53 | 'title' => 'Geo Provider Key', | |
54 | 'description' => 'Enter the API key or Application ID associated with your geocoding provider (not required for Yahoo).', | |
dfe1f88a CW |
55 | ], |
56 | 'geoProvider' => [ | |
3784888f | 57 | 'add' => '4.7', |
3784888f TO |
58 | 'help_text' => NULL, |
59 | 'is_domain' => 1, | |
60 | 'is_contact' => 0, | |
61 | 'group_name' => 'Map Preferences', | |
62 | 'group' => 'map', | |
63 | 'name' => 'geoProvider', | |
64 | 'type' => 'String', | |
1ec598f3 | 65 | 'quick_form_type' => 'Select', |
3784888f | 66 | 'html_type' => 'Select', |
dfe1f88a | 67 | 'html_attributes' => [ |
1ec598f3 | 68 | 'class' => 'crm-select2', |
dfe1f88a CW |
69 | ], |
70 | 'pseudoconstant' => [ | |
3784888f | 71 | 'callback' => 'CRM_Core_SelectValues::geoProvider', |
dfe1f88a | 72 | ], |
3784888f TO |
73 | 'default' => NULL, |
74 | 'title' => 'Geocoding Provider', | |
89155632 | 75 | 'description' => 'This can be the same or different from the mapping provider selected.', |
dfe1f88a CW |
76 | ], |
77 | 'mapAPIKey' => [ | |
3784888f | 78 | 'add' => '4.7', |
3784888f TO |
79 | 'help_text' => NULL, |
80 | 'is_domain' => 1, | |
81 | 'is_contact' => 0, | |
82 | 'group_name' => 'Map Preferences', | |
83 | 'group' => 'map', | |
84 | 'name' => 'mapAPIKey', | |
85 | 'type' => 'String', | |
86 | 'quick_form_type' => 'Element', | |
87 | 'html_type' => 'text', | |
dfe1f88a | 88 | 'html_attributes' => [ |
3784888f TO |
89 | 'size' => '32', |
90 | 'maxlength' => '64', | |
dfe1f88a | 91 | ], |
3784888f TO |
92 | 'default' => NULL, |
93 | 'title' => 'Map Provider Key', | |
3301f200 | 94 | '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.', |
dfe1f88a CW |
95 | ], |
96 | 'mapProvider' => [ | |
3784888f | 97 | 'add' => '4.7', |
3784888f TO |
98 | 'help_text' => NULL, |
99 | 'is_domain' => 1, | |
100 | 'is_contact' => 0, | |
101 | 'group_name' => 'Map Preferences', | |
102 | 'group' => 'map', | |
103 | 'name' => 'mapProvider', | |
104 | 'type' => 'String', | |
1ec598f3 TO |
105 | 'quick_form_type' => 'Select', |
106 | 'html_type' => 'Select', | |
dfe1f88a | 107 | 'html_attributes' => [ |
1ec598f3 | 108 | 'class' => 'crm-select2', |
dfe1f88a CW |
109 | ], |
110 | 'pseudoconstant' => [ | |
3784888f | 111 | 'callback' => 'CRM_Core_SelectValues::mapProvider', |
dfe1f88a | 112 | ], |
3784888f TO |
113 | 'default' => NULL, |
114 | 'title' => 'Mapping Provider', | |
115 | 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.', | |
dfe1f88a CW |
116 | ], |
117 | ]; |