Merge pull request #14424 from seamuslee001/phpunit6_money_test
[civicrm-core.git] / settings / Core.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
6a488035 5 +--------------------------------------------------------------------+
6b83d5bd 6 | Copyright CiviCRM LLC (c) 2004-2019 |
6a488035
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 +--------------------------------------------------------------------+
d25dd0ee 26 */
6a488035
TO
27
28/**
29 *
30 * @package CRM
6b83d5bd 31 * @copyright CiviCRM LLC (c) 2004-2019
6a488035 32 */
1bfe4abf
CB
33
34/**
6a488035
TO
35 * Settings metadata file
36 */
dfe1f88a
CW
37return [
38 'contact_view_options' => [
6a488035
TO
39 'group_name' => 'CiviCRM Preferences',
40 'group' => 'core',
41 'name' => 'contact_view_options',
42 'type' => 'String',
43 'html_type' => 'checkboxes',
dfe1f88a 44 'pseudoconstant' => [
6a488035 45 'optionGroupName' => 'contact_view_options',
dfe1f88a 46 ],
6a488035
TO
47 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 113\ 1',
48 'add' => '4.1',
a55c9b35 49 'title' => ts('Viewing Contacts'),
6a488035
TO
50 'is_domain' => '1',
51 'is_contact' => 0,
a55c9b35 52 'description' => ts("Select the tabs that should be displayed when viewing a contact record. EXAMPLE: If your organization does not keep track of 'Relationships', then un-check this option to simplify the screen display. Tabs for Contributions, Pledges, Memberships, Events, Grants and Cases are also hidden if the corresponding component is not enabled. Go to Administer > System Settings > Enable Components to modify the components which are available for your site."),
08e57c58 53 'help_text' => NULL,
6821aa1d 54 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
55 ],
56 'contact_edit_options' => [
6a488035
TO
57 'group_name' => 'CiviCRM Preferences',
58 'group' => 'core',
59 'name' => 'contact_edit_options',
60 'type' => 'String',
61 'html_type' => 'checkboxes',
dfe1f88a 62 'pseudoconstant' => [
6a488035 63 'optionGroupName' => 'contact_edit_options',
dfe1f88a 64 ],
007e3bdc 65 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 111\ 112\ 114\ 115\ 116\ 117\ 1',
6a488035 66 'add' => '4.1',
629c8513 67 'title' => ts('Editing Contacts'),
6a488035
TO
68 'is_domain' => 1,
69 'is_contact' => 0,
629c8513 70 'description' => ts('Select the sections that should be included when adding or editing a contact record. EXAMPLE: If your organization does not record Gender and Birth Date for individuals, then simplify the form by un-checking this option. Drag interface allows you to change the order of the panes displayed on contact add/edit screen.'),
56fdfc52 71 'help_text' => NULL,
629c8513 72 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
73 ],
74 'advanced_search_options' => [
6a488035 75 'group_name' => 'CiviCRM Preferences',
629c8513 76 'group' => 'core',
6a488035
TO
77 'name' => 'advanced_search_options',
78 'type' => 'String',
79 'html_type' => 'checkboxes',
dfe1f88a 80 'pseudoconstant' => [
6a488035 81 'optionGroupName' => 'advanced_search_options',
dfe1f88a 82 ],
007e3bdc 83 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 17\ 18\ 19\ 110\ 111\ 112\ 113\ 115\ 116\ 117\ 118\ 119\ 1',
6a488035 84 'add' => '4.1',
629c8513 85 'title' => ts('Contact Search'),
6a488035
TO
86 'is_domain' => 1,
87 'is_contact' => 0,
629c8513 88 'description' => ts('Select the sections that should be included in the Basic and Advanced Search forms. EXAMPLE: If you don\'t track Relationships - then you do not need this section included in the advanced search form. Simplify the form by un-checking this option.'),
2e94f477 89 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
90 ],
91 'user_dashboard_options' => [
6a488035
TO
92 'group_name' => 'CiviCRM Preferences',
93 'group' => 'core',
94 'name' => 'user_dashboard_options',
95 'type' => 'String',
96 'html_type' => 'checkboxes',
dfe1f88a 97 'pseudoconstant' => [
6a488035 98 'optionGroupName' => 'user_dashboard_options',
dfe1f88a 99 ],
007e3bdc 100 'default' => '\ 11\ 12\ 13\ 14\ 15\ 17\ 18\ 1',
6a488035 101 'add' => '4.1',
732b1d05 102 'title' => ts('Contact Dashboard'),
6a488035
TO
103 'is_domain' => 1,
104 'is_contact' => 0,
94b60b64 105 'description' => ts('Select the sections that should be included in the Contact Dashboard. EXAMPLE: If you don\'t want constituents to view their own contribution history, un-check that option.'),
56fdfc52 106 'help_text' => NULL,
94b60b64 107 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
108 ],
109 'address_options' => [
6a488035
TO
110 'group_name' => 'CiviCRM Preferences',
111 'group' => 'core',
112 'name' => 'address_options',
113 'type' => 'String',
c7cd4e2c 114 'html_type' => 'checkboxes',
dfe1f88a 115 'pseudoconstant' => [
6a488035 116 'optionGroupName' => 'address_options',
dfe1f88a 117 ],
007e3bdc 118 'default' => '\ 11\ 12\ 13\ 14\ 15\ 16\ 18\ 19\ 110\ 111\ 1',
6a488035 119 'add' => '4.1',
c7cd4e2c 120 'title' => ts('Address Fields'),
6a488035
TO
121 'is_domain' => 1,
122 'is_contact' => 0,
08e57c58
TO
123 'description' => NULL,
124 'help_text' => NULL,
c7cd4e2c 125 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
126 ],
127 'address_format' => [
6a488035
TO
128 'group_name' => 'CiviCRM Preferences',
129 'group' => 'core',
130 'name' => 'address_format',
131 'type' => 'String',
c7cd4e2c 132 'html_type' => 'textarea',
207f62c6 133 'default' => "{contact.address_name}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 134 'add' => '4.1',
c7cd4e2c 135 'title' => ts('Address Display Format'),
6a488035
TO
136 'is_domain' => 1,
137 'is_contact' => 0,
08e57c58 138 'description' => NULL,
56fdfc52 139 'help_text' => NULL,
dfe1f88a
CW
140 ],
141 'mailing_format' => [
6a488035
TO
142 'group_name' => 'CiviCRM Preferences',
143 'group' => 'core',
144 'name' => 'mailing_format',
145 'type' => 'String',
c7cd4e2c 146 'html_type' => 'textarea',
207f62c6 147 'default' => "{contact.addressee}\n{contact.street_address}\n{contact.supplemental_address_1}\n{contact.supplemental_address_2}\n{contact.supplemental_address_3}\n{contact.city}{, }{contact.state_province}{ }{contact.postal_code}\n{contact.country}",
6a488035 148 'add' => '4.1',
c7cd4e2c 149 'title' => ts('Mailing Label Format'),
6a488035
TO
150 'is_domain' => 1,
151 'is_contact' => 0,
08e57c58 152 'description' => NULL,
56fdfc52 153 'help_text' => NULL,
dfe1f88a
CW
154 ],
155 'display_name_format' => [
6a488035
TO
156 'group_name' => 'CiviCRM Preferences',
157 'group' => 'core',
158 'name' => 'display_name_format',
159 'type' => 'String',
7399a0a6 160 'html_type' => 'textarea',
6a488035
TO
161 'default' => '{contact.individual_prefix}{ }{contact.first_name}{ }{contact.last_name}{ }{contact.individual_suffix}',
162 'add' => '4.1',
732b1d05 163 'title' => ts('Individual Display Name Format'),
6a488035
TO
164 'is_domain' => 1,
165 'is_contact' => 0,
7399a0a6 166 'description' => ts('Display name format for individual contact display names.'),
dfe1f88a
CW
167 ],
168 'sort_name_format' => [
6a488035
TO
169 'group_name' => 'CiviCRM Preferences',
170 'group' => 'core',
171 'name' => 'sort_name_format',
172 'type' => 'String',
7399a0a6 173 'html_type' => 'textarea',
6a488035
TO
174 'default' => '{contact.last_name}{, }{contact.first_name}',
175 'add' => '4.1',
732b1d05 176 'title' => ts('Individual Sort Name Format'),
6a488035
TO
177 'is_domain' => 1,
178 'is_contact' => 0,
7399a0a6 179 'description' => ts('Sort name format for individual contact display names.'),
dfe1f88a
CW
180 ],
181 'remote_profile_submissions' => [
61f53f0d
PN
182 'group_name' => 'CiviCRM Preferences',
183 'group' => 'core',
e8a64b98 184 'name' => 'remote_profile_submissions',
61f53f0d
PN
185 'type' => 'Boolean',
186 'quick_form_type' => 'YesNo',
187 'default' => FALSE,
188 'html_type' => 'radio',
189 'add' => '4.7',
1bfe4abf 190 'title' => 'Accept profile submissions from external sites',
61f53f0d
PN
191 'is_domain' => 1,
192 'is_contact' => 0,
732b1d05 193 'description' => ts('If enabled, CiviCRM will permit submissions from external sites to profiles. This is disabled by default to limit abuse.'),
61f53f0d 194 'help_text' => NULL,
dfe1f88a
CW
195 ],
196 'allow_alert_autodismissal' => [
d19abfd1
AP
197 'group_name' => 'CiviCRM Preferences',
198 'group' => 'core',
199 'name' => 'allow_alert_autodismissal',
200 'type' => 'Boolean',
201 'quick_form_type' => 'YesNo',
202 'default' => TRUE,
203 'html_type' => 'radio',
204 'add' => '4.7',
205 'title' => 'Allow alerts to auto-dismiss?',
206 'is_domain' => 1,
207 'is_contact' => 0,
732b1d05 208 'description' => ts('If disabled, CiviCRM will not automatically dismiss any alerts after 10 seconds.'),
d19abfd1 209 'help_text' => NULL,
dfe1f88a
CW
210 ],
211 'editor_id' => [
6a488035
TO
212 'group_name' => 'CiviCRM Preferences',
213 'group' => 'core',
214 'name' => 'editor_id',
215 'type' => 'String',
719eda4a 216 'html_type' => 'select',
72f03b4f 217 'default' => 'CKEditor',
6a488035 218 'add' => '4.1',
732b1d05 219 'title' => ts('Wysiwig Editor'),
dfe1f88a 220 'pseudoconstant' => [
719eda4a 221 'optionGroupName' => 'wysiwyg_editor',
babfca87 222 'keyColumn' => 'name',
dfe1f88a 223 ],
6a488035
TO
224 'is_domain' => 1,
225 'is_contact' => 0,
08e57c58
TO
226 'description' => NULL,
227 'help_text' => NULL,
dfe1f88a
CW
228 ],
229 'contact_ajax_check_similar' => [
6a488035
TO
230 'group_name' => 'CiviCRM Preferences',
231 'group' => 'core',
232 'name' => 'contact_ajax_check_similar',
233 'type' => 'String',
d6def514 234 'html_type' => 'radio',
007e3bdc 235 'default' => '1',
6a488035 236 'add' => '4.1',
732b1d05 237 'title' => ts('Check for Similar Contacts'),
6a488035
TO
238 'is_domain' => 1,
239 'is_contact' => 0,
08e57c58
TO
240 'description' => NULL,
241 'help_text' => NULL,
719eda4a 242 'options' => ['1' => ts('While Typing'), '0' => ts('When Saving'), '2' => ts('Never')],
dfe1f88a
CW
243 ],
244 'ajaxPopupsEnabled' => [
f1cf499b
CW
245 'group_name' => 'CiviCRM Preferences',
246 'group' => 'core',
53f2643c 247 'name' => 'ajaxPopupsEnabled',
f1cf499b 248 'type' => 'Boolean',
74f89a9f 249 'html_type' => 'checkbox',
f1cf499b
CW
250 'default' => 1,
251 'add' => '4.5',
732b1d05 252 'title' => ts('Enable Popup Forms'),
f1cf499b
CW
253 'is_domain' => 1,
254 'is_contact' => 0,
08e57c58
TO
255 'description' => NULL,
256 'help_text' => NULL,
dfe1f88a
CW
257 ],
258 'activity_assignee_notification' => [
6a488035
TO
259 'group_name' => 'CiviCRM Preferences',
260 'group' => 'core',
261 'name' => 'activity_assignee_notification',
74f89a9f 262 'type' => 'Boolean',
263 'html_type' => 'checkbox',
007e3bdc 264 'default' => '1',
6a488035 265 'add' => '4.1',
732b1d05 266 'title' => ts('Notify Activity Assignees'),
6a488035
TO
267 'is_domain' => 1,
268 'is_contact' => 0,
08e57c58 269 'description' => NULL,
56fdfc52 270 'help_text' => NULL,
dfe1f88a
CW
271 ],
272 'activity_assignee_notification_ics' => [
6a488035
TO
273 'group_name' => 'CiviCRM Preferences',
274 'group' => 'core',
275 'name' => 'activity_assignee_notification_ics',
74f89a9f 276 'type' => 'Boolean',
277 'html_type' => 'checkbox',
007e3bdc 278 'default' => '0',
6a488035 279 'add' => '4.3',
732b1d05 280 'title' => ts('Include ICal Invite to Activity Assignees'),
6a488035
TO
281 'is_domain' => 1,
282 'is_contact' => 0,
08e57c58 283 'description' => NULL,
56fdfc52 284 'help_text' => NULL,
dfe1f88a
CW
285 ],
286 'contact_autocomplete_options' => [
6a488035
TO
287 'group_name' => 'CiviCRM Preferences',
288 'group' => 'core',
289 'name' => 'contact_autocomplete_options',
290 'type' => 'String',
ec3cc27f 291 'html_type' => 'checkboxes',
dfe1f88a 292 'pseudoconstant' => [
d434f797 293 'callback' => 'CRM_Admin_Form_Setting_Search::getContactAutocompleteOptions',
dfe1f88a 294 ],
d434f797 295 'default' => '\ 11\ 12\ 1',
6a488035 296 'add' => '4.1',
732b1d05 297 'title' => ts('Autocomplete Contact Search'),
6a488035
TO
298 'is_domain' => 1,
299 'is_contact' => 0,
732b1d05 300 'description' => ts("Selected fields will be displayed in back-office autocomplete dropdown search results (Quick Search, etc.). Contact Name is always included."),
56fdfc52 301 'help_text' => NULL,
ec3cc27f 302 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
303 ],
304 'contact_reference_options' => [
6a488035
TO
305 'group_name' => 'CiviCRM Preferences',
306 'group' => 'core',
307 'name' => 'contact_reference_options',
308 'type' => 'String',
ec3cc27f 309 'html_type' => 'checkboxes',
dfe1f88a 310 'pseudoconstant' => [
d434f797 311 'callback' => 'CRM_Admin_Form_Setting_Search::getContactReferenceOptions',
dfe1f88a 312 ],
d434f797 313 'default' => '\ 11\ 12\ 1',
6a488035 314 'add' => '4.1',
732b1d05 315 'title' => ts('Contact Reference Options'),
6a488035
TO
316 'is_domain' => 1,
317 'is_contact' => 0,
732b1d05 318 'description' => ts("Selected fields will be displayed in autocomplete dropdown search results for 'Contact Reference' custom fields. Contact Name is always included. NOTE: You must assign 'access contact reference fields' permission to the anonymous role if you want to use custom contact reference fields in profiles on public pages. For most situations, you should use the 'Limit List to Group' setting when configuring a contact reference field which will be used in public forms to prevent exposing your entire contact list."),
56fdfc52 319 'help_text' => NULL,
ec3cc27f 320 'serialize' => CRM_Core_DAO::SERIALIZE_SEPARATOR_BOOKEND,
dfe1f88a
CW
321 ],
322 'contact_smart_group_display' => [
007e3bdc
TO
323 'group_name' => 'CiviCRM Preferences',
324 'group' => 'core',
325 'name' => 'contact_smart_group_display',
326 'type' => 'String',
327 'html_type' => 'radio',
328 'default' => '1',
329 'add' => '4.7',
330 'title' => ts('Viewing Smart Groups'),
331 'is_domain' => 1,
332 'is_contact' => 0,
c5af8245 333 'description' => ts('Controls display of the smart groups that a contact is part of in each contact\'s "Groups" tab. "Show on Demand" provides the best performance, and is recommended for most sites.'),
007e3bdc 334 'help_text' => NULL,
dfe1f88a 335 'pseudoconstant' => [
c5af8245 336 'optionGroupName' => 'contact_smart_group_display',
dfe1f88a
CW
337 ],
338 ],
339 'smart_group_cache_refresh_mode' => [
801bafd7 340 'group_name' => 'CiviCRM Preferences',
341 'group' => 'core',
342 'name' => 'smart_group_cache_refresh_mode',
343 'type' => 'String',
344 'html_type' => 'radio',
345 'default' => 'opportunistic',
346 'add' => '4.7',
732b1d05 347 'title' => ts('Smart Group Refresh Mode'),
801bafd7 348 'is_domain' => 1,
349 'is_contact' => 0,
dfe1f88a 350 'pseudoconstant' => [
a8eb1fe6 351 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
dfe1f88a 352 ],
732b1d05 353 'description' => ts('Should the smart groups be by cron jobs or user actions'),
354 'help_text' => ts('In "Opportunistic Flush" mode, caches are flushed in response to user actions; this mode is broadly compatible but may add latency during form-submissions. In "Cron Flush" mode, you should schedule a cron job to flush caches; this can improve latency on form-submissions but requires more setup.'),
dfe1f88a
CW
355 ],
356 'installed' => [
801c5335
C
357 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
358 'group_name' => 'CiviCRM Preferences',
359 'group' => 'core',
360 'name' => 'installed',
361 'type' => 'Boolean',
362 'quick_form_type' => 'YesNo',
363 'default' => FALSE,
364 'add' => '4.7',
732b1d05 365 'title' => ts('System Installed'),
801c5335
C
366 'is_domain' => 1,
367 'is_contact' => 0,
732b1d05 368 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 369 'help_text' => NULL,
dfe1f88a
CW
370 ],
371 'max_attachments' => [
6a488035
TO
372 'group_name' => 'CiviCRM Preferences',
373 'group' => 'core',
374 'name' => 'max_attachments',
375 'legacy_key' => 'maxAttachments',
6a488035
TO
376 'type' => 'Integer',
377 'quick_form_type' => 'Element',
378 'html_type' => 'text',
dfe1f88a 379 'html_attributes' => [
6a488035
TO
380 'size' => 2,
381 'maxlength' => 8,
dfe1f88a 382 ],
56fdfc52
TO
383 'default' => 3,
384 'add' => '4.3',
732b1d05 385 'title' => ts('Maximum Attachments'),
56fdfc52
TO
386 'is_domain' => 1,
387 'is_contact' => 0,
732b1d05 388 'description' => ts('Maximum number of files (documents, images, etc.) which can be attached to emails or activities.'),
56fdfc52 389 'help_text' => NULL,
dfe1f88a
CW
390 ],
391 'maxFileSize' => [
6a488035
TO
392 'group_name' => 'CiviCRM Preferences',
393 'group' => 'core',
394 'name' => 'maxFileSize',
6a488035
TO
395 'type' => 'Integer',
396 'quick_form_type' => 'Element',
397 'html_type' => 'text',
dfe1f88a 398 'html_attributes' => [
6a488035
TO
399 'size' => 2,
400 'maxlength' => 8,
dfe1f88a 401 ],
6a488035
TO
402 'default' => 3,
403 'add' => '4.3',
732b1d05 404 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
405 'is_domain' => 1,
406 'is_contact' => 0,
732b1d05 407 'description' => ts('Maximum Size of file (documents, images, etc.) which can be attached to emails or activities.<br />Note: php.ini should support this file size.'),
08e57c58 408 'help_text' => NULL,
dfe1f88a
CW
409 ],
410 'contact_undelete' => [
6a488035
TO
411 'group_name' => 'CiviCRM Preferences',
412 'group' => 'core',
413 'name' => 'contact_undelete',
414 'type' => 'Boolean',
415 'quick_form_type' => 'YesNo',
416 'default' => 1,
417 'add' => '4.3',
732b1d05 418 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
419 'is_domain' => 1,
420 'is_contact' => 0,
732b1d05 421 'description' => ts('If enabled, deleted contacts will be moved to trash (instead of being destroyed). Users with the proper permission are able to search for the deleted contacts and restore them (or delete permanently).'),
08e57c58 422 'help_text' => NULL,
dfe1f88a
CW
423 ],
424 'allowPermDeleteFinancial' => [
f182074e
PN
425 'group_name' => 'CiviCRM Preferences',
426 'group' => 'core',
427 'name' => 'allowPermDeleteFinancial',
428 'type' => 'Boolean',
429 'quick_form_type' => 'YesNo',
430 'default' => FALSE,
431 'add' => '4.3',
732b1d05 432 'title' => ts('Contact Permanent Delete'),
f182074e
PN
433 'is_domain' => 1,
434 'is_contact' => 0,
732b1d05 435 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 436 'help_text' => NULL,
dfe1f88a
CW
437 ],
438 'securityAlert' => [
439a9f1b
TO
439 'group_name' => 'CiviCRM Preferences',
440 'group' => 'core',
fa8dc18c 441 'name' => 'securityAlert',
439a9f1b
TO
442 'type' => 'Boolean',
443 'quick_form_type' => 'YesNo',
444 'default' => 1,
445 'add' => '4.4',
732b1d05 446 'title' => ts('Status Alerts'),
439a9f1b
TO
447 'is_domain' => 1,
448 'is_contact' => 0,
732b1d05 449 'description' => ts("If enabled, CiviCRM will display pop-up notifications (no more than once per day) for security and misconfiguration issues identified in the system check."),
08e57c58 450 'help_text' => NULL,
dfe1f88a
CW
451 ],
452 'doNotAttachPDFReceipt' => [
6a488035
TO
453 'group_name' => 'CiviCRM Preferences',
454 'group' => 'core',
455 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
456 'type' => 'Boolean',
457 'quick_form_type' => 'YesNo',
f825dba2 458 'default' => 0,
6a488035 459 'add' => '4.3',
732b1d05 460 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
461 'is_domain' => 1,
462 'is_contact' => 0,
732b1d05 463 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 464 'help_text' => NULL,
dfe1f88a
CW
465 ],
466 'recordGeneratedLetters' => [
cc144465
TO
467 'group_name' => 'CiviCRM Preferences',
468 'group' => 'core',
469 'name' => 'recordGeneratedLetters',
470 'type' => 'String',
471 'quick_form_type' => 'Select',
472 'html_type' => 'Select',
dfe1f88a 473 'html_attributes' => [
cc144465 474 'class' => 'crm-select2',
dfe1f88a 475 ],
cc144465 476 'default' => 'multiple',
3ff77806 477 'add' => '4.7',
732b1d05 478 'title' => ts('Record generated letters'),
cc144465
TO
479 'is_domain' => 1,
480 'is_contact' => 0,
732b1d05 481 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 482 'help_text' => NULL,
dfe1f88a 483 'pseudoconstant' => [
cc144465 484 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
485 ],
486 ],
487 'wkhtmltopdfPath' => [
6a488035
TO
488 'group_name' => 'CiviCRM Preferences',
489 'group' => 'core',
490 'name' => 'wkhtmltopdfPath',
6a488035
TO
491 'type' => 'String',
492 'quick_form_type' => 'Element',
dfe1f88a 493 'html_attributes' => [
6a488035
TO
494 'size' => 64,
495 'maxlength' => 256,
dfe1f88a 496 ],
c1a2145a 497 'html_type' => 'text',
08e57c58 498 'default' => NULL,
6a488035 499 'add' => '4.3',
732b1d05 500 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
501 'is_domain' => 1,
502 'is_contact' => 0,
08e57c58
TO
503 'description' => NULL,
504 'help_text' => NULL,
dfe1f88a
CW
505 ],
506 'recaptchaOptions' => [
53b0f6c3
TO
507 'group_name' => 'CiviCRM Preferences',
508 'group' => 'core',
509 'name' => 'recaptchaOptions',
53b0f6c3
TO
510 'type' => 'String',
511 'quick_form_type' => 'Element',
dfe1f88a 512 'html_attributes' => [
53b0f6c3
TO
513 'size' => 64,
514 'maxlength' => 64,
dfe1f88a 515 ],
c1a2145a 516 'html_type' => 'text',
53b0f6c3
TO
517 'default' => NULL,
518 'add' => '4.3',
732b1d05 519 'title' => ts('Recaptcha Options'),
53b0f6c3
TO
520 'is_domain' => 1,
521 'is_contact' => 0,
732b1d05 522 'description' => ts('You can specify the reCAPTCHA theme options as comma separated data.(eg: theme:\'blackglass\', lang : \'fr\' ). Check the available options at <a href="https://developers.google.com/recaptcha/docs/display#config">Customizing the Look and Feel of reCAPTCHA</a>.'),
53b0f6c3 523 'help_text' => NULL,
dfe1f88a
CW
524 ],
525 'recaptchaPublicKey' => [
6a488035
TO
526 'group_name' => 'CiviCRM Preferences',
527 'group' => 'core',
528 'name' => 'recaptchaPublicKey',
6a488035
TO
529 'type' => 'String',
530 'quick_form_type' => 'Element',
dfe1f88a 531 'html_attributes' => [
6a488035
TO
532 'size' => 64,
533 'maxlength' => 64,
dfe1f88a 534 ],
c1a2145a 535 'html_type' => 'text',
08e57c58 536 'default' => NULL,
6a488035 537 'add' => '4.3',
732b1d05 538 'title' => ts('Recaptcha Site Key'),
6a488035
TO
539 'is_domain' => 1,
540 'is_contact' => 0,
08e57c58
TO
541 'description' => NULL,
542 'help_text' => NULL,
dfe1f88a
CW
543 ],
544 'forceRecaptcha' => [
ce287b85
AP
545 'add' => '4.7',
546 'help_text' => NULL,
547 'is_domain' => 1,
548 'is_contact' => 0,
549 'group_name' => 'CiviCRM Preferences',
550 'group' => 'core',
551 'name' => 'forceRecaptcha',
552 'type' => 'Boolean',
553 'quick_form_type' => 'YesNo',
554 'html_type' => '',
555 'default' => '0',
732b1d05 556 'title' => ts('Force reCAPTCHA on Contribution pages'),
557 'description' => ts('If enabled, reCAPTCHA will show on all contribution pages.'),
dfe1f88a
CW
558 ],
559 'recaptchaPrivateKey' => [
6a488035
TO
560 'group_name' => 'CiviCRM Preferences',
561 'group' => 'core',
562 'name' => 'recaptchaPrivateKey',
6a488035
TO
563 'type' => 'String',
564 'quick_form_type' => 'Element',
dfe1f88a 565 'html_attributes' => [
6a488035
TO
566 'size' => 64,
567 'maxlength' => 64,
dfe1f88a 568 ],
c1a2145a 569 'html_type' => 'text',
08e57c58 570 'default' => NULL,
6a488035 571 'add' => '4.3',
732b1d05 572 'title' => ts('Recaptcha Secret Key'),
6a488035
TO
573 'is_domain' => 1,
574 'is_contact' => 0,
08e57c58
TO
575 'description' => NULL,
576 'help_text' => NULL,
dfe1f88a
CW
577 ],
578 'checksum_timeout' => [
6a488035
TO
579 'group_name' => 'CiviCRM Preferences',
580 'group' => 'core',
92a8de72 581 'name' => 'checksum_timeout',
6a488035
TO
582 'type' => 'Integer',
583 'quick_form_type' => 'Element',
dfe1f88a 584 'html_attributes' => [
6a488035
TO
585 'size' => 2,
586 'maxlength' => 8,
dfe1f88a 587 ],
c1a2145a 588 'html_type' => 'text',
6a488035
TO
589 'default' => 7,
590 'add' => '4.3',
732b1d05 591 'title' => ts('Checksum Lifespan'),
6a488035
TO
592 'is_domain' => 1,
593 'is_contact' => 0,
08e57c58
TO
594 'description' => NULL,
595 'help_text' => NULL,
dfe1f88a
CW
596 ],
597 'blogUrl' => [
4b030206
TO
598 'group_name' => 'CiviCRM Preferences',
599 'group' => 'core',
600 'name' => 'blogUrl',
4b030206
TO
601 'type' => 'String',
602 'quick_form_type' => 'Element',
dfe1f88a 603 'html_attributes' => [
4b030206
TO
604 'size' => 64,
605 'maxlength' => 128,
dfe1f88a 606 ],
c1a2145a 607 'html_type' => 'text',
4b030206
TO
608 'default' => '*default*',
609 'add' => '4.3',
732b1d05 610 'title' => ts('Blog Feed URL'),
4b030206
TO
611 'is_domain' => 1,
612 'is_contact' => 0,
732b1d05 613 'description' => ts('Blog feed URL used by the blog dashlet'),
614 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
615 ],
616 'communityMessagesUrl' => [
847c93ac
TO
617 'group_name' => 'CiviCRM Preferences',
618 'group' => 'core',
619 'name' => 'communityMessagesUrl',
847c93ac
TO
620 'type' => 'String',
621 'quick_form_type' => 'Element',
dfe1f88a 622 'html_attributes' => [
847c93ac
TO
623 'size' => 64,
624 'maxlength' => 128,
dfe1f88a 625 ],
c1a2145a 626 'html_type' => 'text',
847c93ac
TO
627 'default' => '*default*',
628 'add' => '4.3',
732b1d05 629 'title' => ts('Community Messages URL'),
847c93ac
TO
630 'is_domain' => 1,
631 'is_contact' => 0,
732b1d05 632 'description' => ts('Service providing CiviCRM community messages'),
633 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
634 ],
635 'gettingStartedUrl' => [
1f957d1e
TO
636 'group_name' => 'CiviCRM Preferences',
637 'group' => 'core',
638 'name' => 'gettingStartedUrl',
639 'type' => 'String',
640 'quick_form_type' => 'Element',
dfe1f88a 641 'html_attributes' => [
1f957d1e
TO
642 'size' => 64,
643 'maxlength' => 128,
dfe1f88a 644 ],
c1a2145a 645 'html_type' => 'text',
1f957d1e
TO
646 'default' => '*default*',
647 'add' => '4.3',
732b1d05 648 'title' => ts('Getting Started URL'),
1f957d1e
TO
649 'is_domain' => 1,
650 'is_contact' => 0,
732b1d05 651 'description' => ts('Service providing the Getting Started data'),
652 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
653 ],
654 'resCacheCode' => [
6a488035
TO
655 'group_name' => 'CiviCRM Preferences',
656 'group' => 'core',
657 'name' => 'resCacheCode',
6a488035 658 'type' => 'String',
30fcf833 659 'quick_form_type' => 'Element',
660 'html_type' => 'text',
08e57c58 661 'default' => NULL,
6a488035 662 'add' => '4.3',
732b1d05 663 'title' => ts('resCacheCode'),
6a488035
TO
664 'is_domain' => 1,
665 'is_contact' => 0,
732b1d05 666 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 667 'help_text' => NULL,
dfe1f88a
CW
668 ],
669 'verifySSL' => [
6a488035
TO
670 'group_name' => 'CiviCRM Preferences',
671 'group' => 'core',
672 'name' => 'verifySSL',
673 'type' => 'Boolean',
674 'quick_form_type' => 'YesNo',
675 'default' => 1,
676 'add' => '4.3',
732b1d05 677 'title' => ts('Verify SSL?'),
6a488035
TO
678 'is_domain' => 1,
679 'is_contact' => 0,
732b1d05 680 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
681 'help_text' => ts('Unless you are absolutely unable to configure your server to check the SSL certificate of the remote server you should leave this set to Yes'),
dfe1f88a
CW
682 ],
683 'enableSSL' => [
28f07f05
TO
684 'group_name' => 'CiviCRM Preferences',
685 'group' => 'core',
686 'name' => 'enableSSL',
687 'type' => 'Boolean',
688 'quick_form_type' => 'YesNo',
689 'default' => 0,
690 'add' => '4.5',
732b1d05 691 'title' => ts('Force SSL?'),
28f07f05
TO
692 'is_domain' => 1,
693 'is_contact' => 0,
732b1d05 694 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
695 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
696 ],
697 'wpBasePage' => [
94c11eeb
DL
698 'group_name' => 'CiviCRM Preferences',
699 'group' => 'core',
700 'name' => 'wpBasePage',
701 'type' => 'String',
702 'html_type' => 'text',
703 'quick_form_type' => 'Element',
94c11eeb
DL
704 'default' => '',
705 'add' => '4.3',
732b1d05 706 'title' => ts('WordPress Base Page'),
94c11eeb
DL
707 'is_domain' => 1,
708 'is_contact' => 0,
732b1d05 709 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
710 'help_text' => ts('By default, CiviCRM will generate front-facing pages using the home page at http://wp/ as its base. If you want to use a different template for CiviCRM pages, set the path here.'),
dfe1f88a
CW
711 ],
712 'secondDegRelPermissions' => [
d5f1ee75
DG
713 'group_name' => 'CiviCRM Preferences',
714 'group' => 'core',
715 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
716 'type' => 'Boolean',
717 'quick_form_type' => 'YesNo',
718 'default' => 0,
719 'add' => '4.3',
732b1d05 720 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
721 'is_domain' => 1,
722 'is_contact' => 0,
732b1d05 723 'description' => ts("If enabled, contacts with the permission to edit a related contact will inherit that contact's permission to edit other related contacts"),
08e57c58 724 'help_text' => NULL,
dfe1f88a
CW
725 ],
726 'enable_components' => [
ac47f7ca 727 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
728 'group_name' => 'CiviCRM Preferences',
729 'group' => 'core',
56fdfc52 730 'name' => 'enable_components',
86eeab72 731 'type' => 'Array',
bfd9c358 732 'html_type' => 'checkboxes',
ac47f7ca 733 'default' => NULL,
56fdfc52 734 'add' => '4.4',
732b1d05 735 'title' => ts('Enable Components'),
86eeab72
DS
736 'is_domain' => '1',
737 'is_contact' => 0,
08e57c58 738 'description' => NULL,
56fdfc52 739 'help_text' => NULL,
dfe1f88a 740 'on_change' => [
c8074a93
TO
741 'CRM_Case_Info::onToggleComponents',
742 'CRM_Core_Component::flushEnabledComponents',
743 'call://resources/resetCacheCode',
dfe1f88a 744 ],
281db812 745 'pseudoconstant' => [
746 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
747 ],
dfe1f88a
CW
748 ],
749 'disable_core_css' => [
14f20d22
CW
750 'group_name' => 'CiviCRM Preferences',
751 'group' => 'core',
752 'name' => 'disable_core_css',
753 'type' => 'Boolean',
754 'quick_form_type' => 'YesNo',
755 'default' => '0',
756 'add' => '4.4',
732b1d05 757 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
758 'is_domain' => 1,
759 'is_contact' => 0,
732b1d05 760 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 761 'help_text' => NULL,
dfe1f88a
CW
762 ],
763 'empoweredBy' => [
466913fc
AH
764 'group_name' => 'CiviCRM Preferences',
765 'group' => 'core',
766 'name' => 'empoweredBy',
767 'type' => 'Boolean',
768 'quick_form_type' => 'YesNo',
769 'default' => 1,
770 'add' => '4.5',
732b1d05 771 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
772 'is_domain' => 1,
773 'is_contact' => 0,
732b1d05 774 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 775 'help_text' => NULL,
dfe1f88a
CW
776 ],
777 'logging_no_trigger_permission' => [
f76ec559
TO
778 'add' => '4.7',
779 'is_domain' => 1,
780 'is_contact' => 0,
781 'group_name' => 'CiviCRM Preferences',
782 'group' => 'core',
783 'help_text' => ts('(EXPERIMENTAL) If the MySQL user does not have permission to administer triggers, then you must create the triggers outside CiviCRM. No support is provided for this configuration.'),
784 'name' => 'logging_no_trigger_permission',
785 'type' => 'Boolean',
786 'quick_form_type' => 'YesNo',
787 'html_type' => '',
788 'default' => 0,
732b1d05 789 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
790 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
791 ],
792 'logging' => [
e299c1d0 793 'add' => '4.7',
e299c1d0
TO
794 'help_text' => NULL,
795 'is_domain' => 1,
796 'is_contact' => 0,
797 'group_name' => 'CiviCRM Preferences',
798 'group' => 'core',
799 'name' => 'logging',
800 'type' => 'Boolean',
801 'quick_form_type' => 'YesNo',
802 'html_type' => '',
803 'default' => '0',
732b1d05 804 'title' => ts('Logging'),
805 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 806 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 807 'on_change' => [
e299c1d0 808 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
809 ],
810 ],
811 'logging_uniqueid_date' => [
8dd883ca 812 'add' => '4.7',
813 'help_text' => ts('This is the date when CRM-18193 was implemented'),
814 'is_domain' => 1,
815 'is_contact' => 0,
816 'group_name' => 'CiviCRM Preferences',
817 'group' => 'core',
818 'name' => 'logging_uniqueid_date',
819 'type' => 'Date',
820 'quick_form_type' => 'DateTime',
821 'html_type' => '',
822 'default' => NULL,
732b1d05 823 'title' => ts('Logging Unique ID not recorded before'),
824 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
825 ],
826 'logging_all_tables_uniquid' => [
8dd883ca 827 'add' => '4.7',
828 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
829 'is_domain' => 1,
830 'is_contact' => 0,
831 'group_name' => 'CiviCRM Preferences',
832 'group' => 'core',
833 'name' => 'logging_all_tables_uniquid',
834 'type' => 'Boolean',
835 'quick_form_type' => 'YesNo',
836 'html_type' => '',
837 'default' => 0,
732b1d05 838 'title' => ts('All tables use Unique Connection ID'),
839 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
840 ],
841 'userFrameworkUsersTableName' => [
348754d5
TO
842 'add' => '4.7',
843 'help_text' => NULL,
844 'is_domain' => 1,
845 'is_contact' => 0,
846 'group_name' => 'CiviCRM Preferences',
847 'group' => 'core',
848 'name' => 'userFrameworkUsersTableName',
849 'type' => 'String',
850 'quick_form_type' => 'Element',
851 'html_type' => 'text',
dfe1f88a 852 'html_attributes' => [
348754d5
TO
853 'size' => '32',
854 'maxlength' => '64',
dfe1f88a 855 ],
d98d91bd
SL
856 'default' => 'users',
857 'title' => ts('CMS Users Table Name'),
348754d5 858 'description' => '',
dfe1f88a
CW
859 ],
860 'wpLoadPhp' => [
fdd770db
KC
861 'group_name' => 'CiviCRM Preferences',
862 'group' => 'core',
863 'name' => 'wpLoadPhp',
864 'type' => 'String',
865 'html_type' => 'text',
866 'quick_form_type' => 'Element',
fdd770db
KC
867 'default' => '',
868 'add' => '4.6',
732b1d05 869 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
870 'is_domain' => 1,
871 'is_contact' => 0,
732b1d05 872 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 873 'help_text' => NULL,
dfe1f88a
CW
874 ],
875 'secure_cache_timeout_minutes' => [
87334e0f
TO
876 'group_name' => 'CiviCRM Preferences',
877 'group' => 'core',
878 'name' => 'secure_cache_timeout_minutes',
879 'type' => 'Integer',
880 'quick_form_type' => 'Element',
881 'html_type' => 'text',
dfe1f88a 882 'html_attributes' => [
87334e0f
TO
883 'size' => 2,
884 'maxlength' => 8,
dfe1f88a 885 ],
87334e0f
TO
886 'default' => 20,
887 'add' => '4.7',
732b1d05 888 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
889 'is_domain' => 1,
890 'is_contact' => 0,
732b1d05 891 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 892 'help_text' => NULL,
dfe1f88a
CW
893 ],
894 'site_id' => [
1ab26c95
CW
895 'group_name' => 'CiviCRM Preferences',
896 'group' => 'core',
897 'name' => 'site_id',
898 'type' => 'String',
30fcf833 899 'quick_form_type' => 'Element',
900 'html_type' => 'text',
1ab26c95
CW
901 'default' => '',
902 'add' => '4.6',
732b1d05 903 'title' => ts('Unique Site ID'),
1ab26c95
CW
904 'is_domain' => 1,
905 'is_contact' => 0,
906 'description' => NULL,
907 'help_text' => NULL,
dfe1f88a
CW
908 ],
909 'recentItemsMaxCount' => [
ac5f7c7f
NH
910 'group_name' => 'CiviCRM Preferences',
911 'group' => 'core',
912 'name' => 'recentItemsMaxCount',
913 'type' => 'Integer',
914 'quick_form_type' => 'Element',
915 'html_type' => 'text',
dfe1f88a 916 'html_attributes' => [
ac5f7c7f 917 'size' => 2,
136b401b 918 'maxlength' => 3,
dfe1f88a 919 ],
ac5f7c7f
NH
920 'default' => 20,
921 'add' => '4.7',
732b1d05 922 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
923 'is_domain' => 1,
924 'is_contact' => 0,
732b1d05 925 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 926 'help_text' => NULL,
dfe1f88a
CW
927 ],
928 'recentItemsProviders' => [
ac5f7c7f
NH
929 'group_name' => 'CiviCRM Preferences',
930 'group' => 'core',
931 'name' => 'recentItemsProviders',
932 'type' => 'Array',
933 'html_type' => 'Select',
934 'quick_form_type' => 'Select',
dfe1f88a 935 'html_attributes' => [
ac5f7c7f
NH
936 'multiple' => 1,
937 'class' => 'crm-select2',
dfe1f88a 938 ],
ac5f7c7f
NH
939 'default' => '',
940 'add' => '4.7',
732b1d05 941 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
942 'is_domain' => 1,
943 'is_contact' => 0,
732b1d05 944 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 945 'help_text' => NULL,
dfe1f88a 946 'pseudoconstant' => [
136b401b 947 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
948 ],
949 ],
950 'dedupe_default_limit' => [
30fcf833 951 'group_name' => 'CiviCRM Preferences',
952 'group' => 'core',
953 'name' => 'dedupe_default_limit',
954 'type' => 'Integer',
955 'default' => 0,
956 'quick_form_type' => 'Element',
957 'html_type' => 'text',
958 'add' => '4.7',
732b1d05 959 'title' => ts('Default limit for dedupe screen'),
30fcf833 960 'is_domain' => 1,
961 'is_contact' => 0,
962 'description' => ts('Default to only loading matches against this number of contacts'),
963 'help_text' => ts('Deduping larger databases can crash the server. By configuring a limit other than 0 here the dedupe query will only search for matches against a limited number of contacts.'),
dfe1f88a
CW
964 ],
965 'syncCMSEmail' => [
5e7f101a 966 'group_name' => 'CiviCRM Preferences',
967 'group' => 'core',
968 'name' => 'syncCMSEmail',
969 'type' => 'Boolean',
c89a43b3 970 'html_type' => 'YesNo',
5e7f101a 971 'quick_form_type' => 'YesNo',
972 'default' => 1,
973 'add' => '4.7',
c89a43b3 974 'title' => ts('Sync CMS Email'),
5e7f101a 975 'is_domain' => 1,
976 'is_contact' => 0,
c89a43b3 977 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 978 'help_text' => NULL,
dfe1f88a
CW
979 ],
980 'preserve_activity_tab_filter' => [
a6d192c8 981 'group_name' => 'CiviCRM Preferences',
982 'group' => 'core',
983 'name' => 'preserve_activity_tab_filter',
c89a43b3 984 'type' => 'Boolean',
985 'html_type' => 'checkbox',
a6d192c8 986 'default' => '0',
987 'add' => '4.7',
c89a43b3 988 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 989 'is_domain' => 1,
990 'is_contact' => 0,
c89a43b3 991 'description' => ts('When enabled, any filter settings a user selects on the contact\'s Activity tab will be remembered as they visit other contacts.'),
dfe1f88a
CW
992 ],
993 'do_not_notify_assignees_for' => [
b5407aa9 994 'group_name' => 'CiviCRM Preferences',
ac983377 995 'group' => 'core',
b5407aa9 996 'name' => 'do_not_notify_assignees_for',
ac983377
JP
997 'type' => 'Array',
998 'add' => '4.7',
999 'is_domain' => 1,
e74d9a43 1000 'is_contact' => 0,
dfe1f88a 1001 'default' => [],
719eda4a 1002 'title' => ts('Do not notify assignees for'),
1003 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
1004 'html_type' => 'select',
dfe1f88a 1005 'html_attributes' => [
b5407aa9
JP
1006 'multiple' => 1,
1007 'class' => 'huge crm-select2',
dfe1f88a
CW
1008 ],
1009 'pseudoconstant' => [
ac983377 1010 'optionGroupName' => 'activity_type',
dfe1f88a 1011 ],
b5407aa9 1012 'quick_form_type' => 'Select',
dfe1f88a
CW
1013 ],
1014 'menubar_position' => [
b30809e4
CW
1015 'group_name' => 'CiviCRM Preferences',
1016 'group' => 'core',
1017 'name' => 'menubar_position',
1018 'type' => 'String',
1019 'html_type' => 'select',
1020 'default' => 'over-cms-menu',
8a52ae34 1021 'add' => '5.12',
b30809e4
CW
1022 'title' => ts('Menubar position'),
1023 'is_domain' => 1,
1024 'is_contact' => 0,
1025 'description' => ts('Location of the CiviCRM main menu.'),
1026 'help_text' => NULL,
dfe1f88a 1027 'options' => [
b30809e4
CW
1028 'over-cms-menu' => ts('Replace website menu'),
1029 'below-cms-menu' => ts('Below website menu'),
1030 'above-crm-container' => ts('Above content area'),
1031 'none' => ts('None - disable menu'),
dfe1f88a
CW
1032 ],
1033 ],
1034 'menubar_color' => [
8a52ae34
CW
1035 'group_name' => 'CiviCRM Preferences',
1036 'group' => 'core',
1037 'name' => 'menubar_color',
1038 'type' => 'String',
1039 'html_type' => 'color',
1040 'default' => '#1b1b1b',
1041 'add' => '5.13',
1042 'title' => ts('Menubar color'),
1043 'is_domain' => 1,
1044 'is_contact' => 0,
1045 'description' => ts('Color of the CiviCRM main menu.'),
1046 'help_text' => NULL,
1047 'validate_callback' => 'CRM_Utils_Rule::color',
dfe1f88a 1048 ],
6cb3fe2e
SL
1049 'requestableMimeTypes' => [
1050 'group_name' => 'CiviCRM Preferences',
1051 'group' => 'core',
1052 'name' => 'requestableMimeTypes',
1053 'type' => 'String',
1054 'html_type' => 'Text',
1055 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1056 'add' => '5.13',
1057 'title' => ts('Mime Types that can be passed as URL params'),
1058 'is_domain' => 1,
1059 'is_contact' => 0,
1060 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1061 'help_text' => NULL,
1062 ],
dfe1f88a 1063];