Commit | Line | Data |
---|---|---|
3784888f TO |
1 | <?php |
2 | /* | |
3 | +--------------------------------------------------------------------+ | |
6b7eb9df | 4 | | Copyright CiviCRM LLC. All rights reserved. | |
3784888f | 5 | | | |
6b7eb9df TO |
6 | | This work 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 | | |
3784888f TO |
9 | +--------------------------------------------------------------------+ |
10 | */ | |
11 | ||
12 | /** | |
13 | * | |
14 | * @package CRM | |
ca5cec67 | 15 | * @copyright CiviCRM LLC https://civicrm.org/licensing |
3784888f TO |
16 | * $Id$ |
17 | * | |
18 | * Settings metadata file | |
19 | */ | |
dfe1f88a CW |
20 | return [ |
21 | 'geoAPIKey' => [ | |
3784888f | 22 | 'add' => '4.7', |
3784888f TO |
23 | 'help_text' => NULL, |
24 | 'is_domain' => 1, | |
25 | 'is_contact' => 0, | |
26 | 'group_name' => 'Map Preferences', | |
27 | 'group' => 'map', | |
28 | 'name' => 'geoAPIKey', | |
29 | 'type' => 'String', | |
30 | 'quick_form_type' => 'Element', | |
31 | 'html_type' => 'text', | |
dfe1f88a | 32 | 'html_attributes' => [ |
3784888f TO |
33 | 'size' => '32', |
34 | 'maxlength' => '64', | |
dfe1f88a | 35 | ], |
3784888f TO |
36 | 'default' => NULL, |
37 | 'title' => 'Geo Provider Key', | |
0cfb28ca | 38 | 'description' => 'Enter the API key or Application ID associated with your geocoding provider.', |
dfe1f88a CW |
39 | ], |
40 | 'geoProvider' => [ | |
3784888f | 41 | 'add' => '4.7', |
3784888f TO |
42 | 'help_text' => NULL, |
43 | 'is_domain' => 1, | |
44 | 'is_contact' => 0, | |
45 | 'group_name' => 'Map Preferences', | |
46 | 'group' => 'map', | |
47 | 'name' => 'geoProvider', | |
48 | 'type' => 'String', | |
1ec598f3 | 49 | 'quick_form_type' => 'Select', |
3784888f | 50 | 'html_type' => 'Select', |
dfe1f88a | 51 | 'html_attributes' => [ |
1ec598f3 | 52 | 'class' => 'crm-select2', |
dfe1f88a CW |
53 | ], |
54 | 'pseudoconstant' => [ | |
3784888f | 55 | 'callback' => 'CRM_Core_SelectValues::geoProvider', |
dfe1f88a | 56 | ], |
3784888f TO |
57 | 'default' => NULL, |
58 | 'title' => 'Geocoding Provider', | |
89155632 | 59 | 'description' => 'This can be the same or different from the mapping provider selected.', |
dfe1f88a CW |
60 | ], |
61 | 'mapAPIKey' => [ | |
3784888f | 62 | 'add' => '4.7', |
3784888f TO |
63 | 'help_text' => NULL, |
64 | 'is_domain' => 1, | |
65 | 'is_contact' => 0, | |
66 | 'group_name' => 'Map Preferences', | |
67 | 'group' => 'map', | |
68 | 'name' => 'mapAPIKey', | |
69 | 'type' => 'String', | |
70 | 'quick_form_type' => 'Element', | |
71 | 'html_type' => 'text', | |
dfe1f88a | 72 | 'html_attributes' => [ |
3784888f TO |
73 | 'size' => '32', |
74 | 'maxlength' => '64', | |
dfe1f88a | 75 | ], |
3784888f TO |
76 | 'default' => NULL, |
77 | 'title' => 'Map Provider Key', | |
3301f200 | 78 | '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 |
79 | ], |
80 | 'mapProvider' => [ | |
3784888f | 81 | 'add' => '4.7', |
3784888f TO |
82 | 'help_text' => NULL, |
83 | 'is_domain' => 1, | |
84 | 'is_contact' => 0, | |
85 | 'group_name' => 'Map Preferences', | |
86 | 'group' => 'map', | |
87 | 'name' => 'mapProvider', | |
88 | 'type' => 'String', | |
1ec598f3 TO |
89 | 'quick_form_type' => 'Select', |
90 | 'html_type' => 'Select', | |
dfe1f88a | 91 | 'html_attributes' => [ |
1ec598f3 | 92 | 'class' => 'crm-select2', |
dfe1f88a CW |
93 | ], |
94 | 'pseudoconstant' => [ | |
3784888f | 95 | 'callback' => 'CRM_Core_SelectValues::mapProvider', |
dfe1f88a | 96 | ], |
3784888f TO |
97 | 'default' => NULL, |
98 | 'title' => 'Mapping Provider', | |
99 | 'description' => 'Choose the mapping provider that has the best coverage for the majority of your contact addresses.', | |
dfe1f88a CW |
100 | ], |
101 | ]; |