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