Merge pull request #22463 from eileenmcnaughton/label
[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 ],
67769683 361 'description' => ts('Should the smart groups be flushed by cron jobs or user actions'),
732b1d05 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 363 ],
67769683 364 'acl_cache_refresh_mode' => [
365 'group_name' => 'CiviCRM Preferences',
366 'group' => 'core',
367 'name' => 'acl_cache_refresh_mode',
368 'type' => 'String',
369 'html_type' => 'radio',
370 'default' => 'opportunistic',
371 'add' => '5.37.0',
372 'title' => ts('ACL Group Refresh Mode'),
373 'is_domain' => 1,
374 'is_contact' => 0,
375 'pseudoconstant' => [
376 'callback' => 'CRM_Contact_BAO_GroupContactCache::getModes',
377 ],
0a4c7188 378 'description' => ts('Should the acl cache be flushed by cron jobs or user actions'),
67769683 379 '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 if your site uses ACLs; this can improve latency on form-submissions but requires more setup.'),
380 ],
dfe1f88a 381 'installed' => [
801c5335
C
382 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
383 'group_name' => 'CiviCRM Preferences',
384 'group' => 'core',
385 'name' => 'installed',
386 'type' => 'Boolean',
387 'quick_form_type' => 'YesNo',
388 'default' => FALSE,
389 'add' => '4.7',
732b1d05 390 'title' => ts('System Installed'),
801c5335
C
391 'is_domain' => 1,
392 'is_contact' => 0,
732b1d05 393 'description' => ts('A flag indicating whether this system has run a post-installation routine'),
801c5335 394 'help_text' => NULL,
dfe1f88a
CW
395 ],
396 'max_attachments' => [
6a488035
TO
397 'group_name' => 'CiviCRM Preferences',
398 'group' => 'core',
399 'name' => 'max_attachments',
400 'legacy_key' => 'maxAttachments',
6a488035
TO
401 'type' => 'Integer',
402 'quick_form_type' => 'Element',
403 'html_type' => 'text',
dfe1f88a 404 'html_attributes' => [
6a488035
TO
405 'size' => 2,
406 'maxlength' => 8,
dfe1f88a 407 ],
56fdfc52
TO
408 'default' => 3,
409 'add' => '4.3',
732b1d05 410 'title' => ts('Maximum Attachments'),
56fdfc52
TO
411 'is_domain' => 1,
412 'is_contact' => 0,
8913e915
D
413 '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.'),
414 'help_text' => NULL,
415 ],
416 'max_attachments_backend' => [
417 'group_name' => 'CiviCRM Preferences',
418 'group' => 'core',
419 'name' => 'max_attachments_backend',
420 'legacy_key' => 'maxAttachmentsBackend',
421 'type' => 'Integer',
422 'quick_form_type' => 'Element',
423 'html_type' => 'text',
424 'html_attributes' => [
425 'size' => 2,
426 'maxlength' => 8,
427 ],
428 'default' => CRM_Core_BAO_File::DEFAULT_MAX_ATTACHMENTS_BACKEND,
429 'add' => '5.20',
430 'title' => ts('Maximum Attachments For Backend Processes'),
431 'is_domain' => 1,
432 'is_contact' => 0,
433 '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 434 'help_text' => NULL,
dfe1f88a
CW
435 ],
436 'maxFileSize' => [
6a488035
TO
437 'group_name' => 'CiviCRM Preferences',
438 'group' => 'core',
439 'name' => 'maxFileSize',
6a488035
TO
440 'type' => 'Integer',
441 'quick_form_type' => 'Element',
442 'html_type' => 'text',
dfe1f88a 443 'html_attributes' => [
6a488035
TO
444 'size' => 2,
445 'maxlength' => 8,
dfe1f88a 446 ],
6a488035
TO
447 'default' => 3,
448 'add' => '4.3',
732b1d05 449 'title' => ts('Maximum File Size (in MB)'),
6a488035
TO
450 'is_domain' => 1,
451 'is_contact' => 0,
732b1d05 452 '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 453 'help_text' => NULL,
dfe1f88a
CW
454 ],
455 'contact_undelete' => [
6a488035
TO
456 'group_name' => 'CiviCRM Preferences',
457 'group' => 'core',
458 'name' => 'contact_undelete',
459 'type' => 'Boolean',
460 'quick_form_type' => 'YesNo',
461 'default' => 1,
462 'add' => '4.3',
732b1d05 463 'title' => ts('Contact Trash and Undelete'),
6a488035
TO
464 'is_domain' => 1,
465 'is_contact' => 0,
732b1d05 466 '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 467 'help_text' => NULL,
dfe1f88a
CW
468 ],
469 'allowPermDeleteFinancial' => [
f182074e
PN
470 'group_name' => 'CiviCRM Preferences',
471 'group' => 'core',
472 'name' => 'allowPermDeleteFinancial',
473 'type' => 'Boolean',
474 'quick_form_type' => 'YesNo',
475 'default' => FALSE,
476 'add' => '4.3',
732b1d05 477 'title' => ts('Contact Permanent Delete'),
f182074e
PN
478 'is_domain' => 1,
479 'is_contact' => 0,
732b1d05 480 'description' => ts('Allow Permanent Delete for contacts who are linked to live financial transactions'),
08e57c58 481 'help_text' => NULL,
dfe1f88a
CW
482 ],
483 'securityAlert' => [
439a9f1b
TO
484 'group_name' => 'CiviCRM Preferences',
485 'group' => 'core',
fa8dc18c 486 'name' => 'securityAlert',
439a9f1b
TO
487 'type' => 'Boolean',
488 'quick_form_type' => 'YesNo',
489 'default' => 1,
490 'add' => '4.4',
732b1d05 491 'title' => ts('Status Alerts'),
439a9f1b
TO
492 'is_domain' => 1,
493 'is_contact' => 0,
732b1d05 494 '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 495 'help_text' => NULL,
dfe1f88a
CW
496 ],
497 'doNotAttachPDFReceipt' => [
6a488035
TO
498 'group_name' => 'CiviCRM Preferences',
499 'group' => 'core',
500 'name' => 'doNotAttachPDFReceipt',
6a488035
TO
501 'type' => 'Boolean',
502 'quick_form_type' => 'YesNo',
f825dba2 503 'default' => 0,
6a488035 504 'add' => '4.3',
732b1d05 505 'title' => ts('Attach PDF copy to receipts'),
6a488035
TO
506 'is_domain' => 1,
507 'is_contact' => 0,
732b1d05 508 'description' => ts("If enabled, CiviCRM sends PDF receipt as an attachment during event signup or online contribution."),
08e57c58 509 'help_text' => NULL,
dfe1f88a
CW
510 ],
511 'recordGeneratedLetters' => [
cc144465
TO
512 'group_name' => 'CiviCRM Preferences',
513 'group' => 'core',
514 'name' => 'recordGeneratedLetters',
515 'type' => 'String',
516 'quick_form_type' => 'Select',
517 'html_type' => 'Select',
dfe1f88a 518 'html_attributes' => [
cc144465 519 'class' => 'crm-select2',
dfe1f88a 520 ],
cc144465 521 'default' => 'multiple',
3ff77806 522 'add' => '4.7',
732b1d05 523 'title' => ts('Record generated letters'),
cc144465
TO
524 'is_domain' => 1,
525 'is_contact' => 0,
732b1d05 526 'description' => ts('When generating a letter (PDF/Word) via mail-merge, how should the letter be recorded?'),
cc144465 527 'help_text' => NULL,
dfe1f88a 528 'pseudoconstant' => [
cc144465 529 'callback' => 'CRM_Contact_Form_Task_PDFLetterCommon::getLoggingOptions',
dfe1f88a
CW
530 ],
531 ],
442be3b9 532 'dompdf_font_dir' => [
533 'is_domain' => 1,
534 'is_contact' => 0,
535 'group_name' => 'CiviCRM Preferences',
536 'group' => 'core',
537 'name' => 'dompdf_font_dir',
538 'title' => ts('DOMPDF Font Folder'),
539 'description' => ts('Additional folder where DOMPDF will look for fonts.'),
540 'type' => 'String',
541 'quick_form_type' => 'Element',
542 'html_type' => 'text',
543 'html_attributes' => [
544 'size' => 64,
545 'maxlength' => 256,
546 ],
547 'default' => NULL,
548 'help_text' => NULL,
549 'add' => '5.43',
550 ],
551 'dompdf_chroot' => [
552 'is_domain' => 1,
553 'is_contact' => 0,
554 'group_name' => 'CiviCRM Preferences',
555 'group' => 'core',
556 'name' => 'dompdf_chroot',
557 'title' => ts('DOMPDF Local Images Folder'),
558 'description' => ts('Folder to restrict where DOMPDF looks when loading local images. By default it is the DOMPDF folder itself for security reasons. It will search in subfolders.'),
559 'type' => 'String',
560 'quick_form_type' => 'Element',
561 'html_type' => 'text',
562 'html_attributes' => [
563 'size' => 64,
564 'maxlength' => 256,
565 ],
566 'default' => NULL,
567 'help_text' => NULL,
568 'add' => '5.43',
569 ],
570 'dompdf_enable_remote' => [
571 'is_domain' => 1,
572 'is_contact' => 0,
573 'group_name' => 'CiviCRM Preferences',
574 'group' => 'core',
575 'name' => 'dompdf_enable_remote',
576 'title' => ts('DOMPDF Enable Remote Images'),
577 'description' => ts('Enable the use of remote images. By default this is enabled, but if not using remote images you may wish to turn it off for security reasons.'),
578 'type' => 'Boolean',
579 'quick_form_type' => 'YesNo',
580 'html_type' => '',
581 'default' => TRUE,
582 'help_text' => NULL,
583 'add' => '5.43',
584 ],
585 'dompdf_log_output_file' => [
586 'is_domain' => 1,
587 'is_contact' => 0,
588 'group_name' => 'CiviCRM Preferences',
589 'group' => 'core',
590 'name' => 'dompdf_log_output_file',
591 'title' => ts('DOMPDF Log File'),
592 'description' => ts('DOMPDF will log debugging output in this file.'),
593 'type' => 'String',
594 'quick_form_type' => 'Element',
595 'html_type' => 'text',
596 'html_attributes' => [
597 'size' => 64,
598 'maxlength' => 256,
599 ],
600 'default' => NULL,
601 'help_text' => NULL,
602 'add' => '5.43',
603 ],
dfe1f88a 604 'wkhtmltopdfPath' => [
6a488035
TO
605 'group_name' => 'CiviCRM Preferences',
606 'group' => 'core',
607 'name' => 'wkhtmltopdfPath',
6a488035
TO
608 'type' => 'String',
609 'quick_form_type' => 'Element',
dfe1f88a 610 'html_attributes' => [
6a488035
TO
611 'size' => 64,
612 'maxlength' => 256,
dfe1f88a 613 ],
c1a2145a 614 'html_type' => 'text',
08e57c58 615 'default' => NULL,
6a488035 616 'add' => '4.3',
732b1d05 617 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
618 'is_domain' => 1,
619 'is_contact' => 0,
08e57c58
TO
620 'description' => NULL,
621 'help_text' => NULL,
dfe1f88a 622 ],
dfe1f88a 623 'checksum_timeout' => [
6a488035
TO
624 'group_name' => 'CiviCRM Preferences',
625 'group' => 'core',
92a8de72 626 'name' => 'checksum_timeout',
6a488035
TO
627 'type' => 'Integer',
628 'quick_form_type' => 'Element',
dfe1f88a 629 'html_attributes' => [
6a488035
TO
630 'size' => 2,
631 'maxlength' => 8,
dfe1f88a 632 ],
c1a2145a 633 'html_type' => 'text',
6a488035
TO
634 'default' => 7,
635 'add' => '4.3',
732b1d05 636 'title' => ts('Checksum Lifespan'),
6a488035
TO
637 'is_domain' => 1,
638 'is_contact' => 0,
08e57c58
TO
639 'description' => NULL,
640 'help_text' => NULL,
dfe1f88a
CW
641 ],
642 'blogUrl' => [
4b030206
TO
643 'group_name' => 'CiviCRM Preferences',
644 'group' => 'core',
645 'name' => 'blogUrl',
4b030206
TO
646 'type' => 'String',
647 'quick_form_type' => 'Element',
dfe1f88a 648 'html_attributes' => [
4b030206
TO
649 'size' => 64,
650 'maxlength' => 128,
dfe1f88a 651 ],
c1a2145a 652 'html_type' => 'text',
4b030206
TO
653 'default' => '*default*',
654 'add' => '4.3',
732b1d05 655 'title' => ts('Blog Feed URL'),
4b030206
TO
656 'is_domain' => 1,
657 'is_contact' => 0,
732b1d05 658 'description' => ts('Blog feed URL used by the blog dashlet'),
659 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
660 ],
661 'communityMessagesUrl' => [
847c93ac
TO
662 'group_name' => 'CiviCRM Preferences',
663 'group' => 'core',
664 'name' => 'communityMessagesUrl',
847c93ac
TO
665 'type' => 'String',
666 'quick_form_type' => 'Element',
dfe1f88a 667 'html_attributes' => [
847c93ac
TO
668 'size' => 64,
669 'maxlength' => 128,
dfe1f88a 670 ],
c1a2145a 671 'html_type' => 'text',
847c93ac
TO
672 'default' => '*default*',
673 'add' => '4.3',
732b1d05 674 'title' => ts('Community Messages URL'),
847c93ac
TO
675 'is_domain' => 1,
676 'is_contact' => 0,
732b1d05 677 'description' => ts('Service providing CiviCRM community messages'),
678 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
679 ],
680 'gettingStartedUrl' => [
1f957d1e
TO
681 'group_name' => 'CiviCRM Preferences',
682 'group' => 'core',
683 'name' => 'gettingStartedUrl',
684 'type' => 'String',
685 'quick_form_type' => 'Element',
dfe1f88a 686 'html_attributes' => [
1f957d1e
TO
687 'size' => 64,
688 'maxlength' => 128,
dfe1f88a 689 ],
c1a2145a 690 'html_type' => 'text',
1f957d1e
TO
691 'default' => '*default*',
692 'add' => '4.3',
732b1d05 693 'title' => ts('Getting Started URL'),
1f957d1e
TO
694 'is_domain' => 1,
695 'is_contact' => 0,
732b1d05 696 'description' => ts('Service providing the Getting Started data'),
697 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
698 ],
699 'resCacheCode' => [
6a488035
TO
700 'group_name' => 'CiviCRM Preferences',
701 'group' => 'core',
702 'name' => 'resCacheCode',
6a488035 703 'type' => 'String',
30fcf833 704 'quick_form_type' => 'Element',
705 'html_type' => 'text',
08e57c58 706 'default' => NULL,
6a488035 707 'add' => '4.3',
732b1d05 708 'title' => ts('resCacheCode'),
6a488035
TO
709 'is_domain' => 1,
710 'is_contact' => 0,
732b1d05 711 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 712 'help_text' => NULL,
dfe1f88a
CW
713 ],
714 'verifySSL' => [
6a488035
TO
715 'group_name' => 'CiviCRM Preferences',
716 'group' => 'core',
717 'name' => 'verifySSL',
718 'type' => 'Boolean',
719 'quick_form_type' => 'YesNo',
720 'default' => 1,
721 'add' => '4.3',
732b1d05 722 'title' => ts('Verify SSL?'),
6a488035
TO
723 'is_domain' => 1,
724 'is_contact' => 0,
732b1d05 725 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
726 '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
727 ],
728 'enableSSL' => [
28f07f05
TO
729 'group_name' => 'CiviCRM Preferences',
730 'group' => 'core',
731 'name' => 'enableSSL',
732 'type' => 'Boolean',
733 'quick_form_type' => 'YesNo',
734 'default' => 0,
735 'add' => '4.5',
732b1d05 736 'title' => ts('Force SSL?'),
28f07f05
TO
737 'is_domain' => 1,
738 'is_contact' => 0,
732b1d05 739 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
740 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
741 ],
742 'wpBasePage' => [
94c11eeb
DL
743 'group_name' => 'CiviCRM Preferences',
744 'group' => 'core',
745 'name' => 'wpBasePage',
746 'type' => 'String',
747 'html_type' => 'text',
748 'quick_form_type' => 'Element',
94c11eeb
DL
749 'default' => '',
750 'add' => '4.3',
732b1d05 751 'title' => ts('WordPress Base Page'),
94c11eeb
DL
752 'is_domain' => 1,
753 'is_contact' => 0,
732b1d05 754 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
755 '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
756 ],
757 'secondDegRelPermissions' => [
d5f1ee75
DG
758 'group_name' => 'CiviCRM Preferences',
759 'group' => 'core',
760 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
761 'type' => 'Boolean',
762 'quick_form_type' => 'YesNo',
763 'default' => 0,
764 'add' => '4.3',
732b1d05 765 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
766 'is_domain' => 1,
767 'is_contact' => 0,
732b1d05 768 '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 769 'help_text' => NULL,
dfe1f88a
CW
770 ],
771 'enable_components' => [
ac47f7ca 772 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
773 'group_name' => 'CiviCRM Preferences',
774 'group' => 'core',
56fdfc52 775 'name' => 'enable_components',
86eeab72 776 'type' => 'Array',
bfd9c358 777 'html_type' => 'checkboxes',
ac47f7ca 778 'default' => NULL,
56fdfc52 779 'add' => '4.4',
732b1d05 780 'title' => ts('Enable Components'),
86eeab72
DS
781 'is_domain' => '1',
782 'is_contact' => 0,
08e57c58 783 'description' => NULL,
56fdfc52 784 'help_text' => NULL,
dfe1f88a 785 'on_change' => [
c8074a93
TO
786 'CRM_Case_Info::onToggleComponents',
787 'CRM_Core_Component::flushEnabledComponents',
788 'call://resources/resetCacheCode',
dfe1f88a 789 ],
281db812 790 'pseudoconstant' => [
791 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
792 ],
dfe1f88a
CW
793 ],
794 'disable_core_css' => [
14f20d22
CW
795 'group_name' => 'CiviCRM Preferences',
796 'group' => 'core',
797 'name' => 'disable_core_css',
798 'type' => 'Boolean',
799 'quick_form_type' => 'YesNo',
800 'default' => '0',
801 'add' => '4.4',
732b1d05 802 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
803 'is_domain' => 1,
804 'is_contact' => 0,
732b1d05 805 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 806 'help_text' => NULL,
dfe1f88a
CW
807 ],
808 'empoweredBy' => [
466913fc
AH
809 'group_name' => 'CiviCRM Preferences',
810 'group' => 'core',
811 'name' => 'empoweredBy',
812 'type' => 'Boolean',
813 'quick_form_type' => 'YesNo',
814 'default' => 1,
815 'add' => '4.5',
732b1d05 816 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
817 'is_domain' => 1,
818 'is_contact' => 0,
732b1d05 819 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 820 'help_text' => NULL,
dfe1f88a
CW
821 ],
822 'logging_no_trigger_permission' => [
f76ec559
TO
823 'add' => '4.7',
824 'is_domain' => 1,
825 'is_contact' => 0,
826 'group_name' => 'CiviCRM Preferences',
827 'group' => 'core',
828 '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.'),
829 'name' => 'logging_no_trigger_permission',
830 'type' => 'Boolean',
831 'quick_form_type' => 'YesNo',
832 'html_type' => '',
833 'default' => 0,
732b1d05 834 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
835 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
836 ],
837 'logging' => [
e299c1d0 838 'add' => '4.7',
e299c1d0
TO
839 'help_text' => NULL,
840 'is_domain' => 1,
841 'is_contact' => 0,
842 'group_name' => 'CiviCRM Preferences',
843 'group' => 'core',
844 'name' => 'logging',
845 'type' => 'Boolean',
846 'quick_form_type' => 'YesNo',
847 'html_type' => '',
848 'default' => '0',
732b1d05 849 'title' => ts('Logging'),
850 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 851 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 852 'on_change' => [
e299c1d0 853 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
854 ],
855 ],
856 'logging_uniqueid_date' => [
8dd883ca 857 'add' => '4.7',
858 'help_text' => ts('This is the date when CRM-18193 was implemented'),
859 'is_domain' => 1,
860 'is_contact' => 0,
861 'group_name' => 'CiviCRM Preferences',
862 'group' => 'core',
863 'name' => 'logging_uniqueid_date',
864 'type' => 'Date',
865 'quick_form_type' => 'DateTime',
866 'html_type' => '',
867 'default' => NULL,
732b1d05 868 'title' => ts('Logging Unique ID not recorded before'),
869 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
870 ],
871 'logging_all_tables_uniquid' => [
8dd883ca 872 'add' => '4.7',
873 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
874 'is_domain' => 1,
875 'is_contact' => 0,
876 'group_name' => 'CiviCRM Preferences',
877 'group' => 'core',
878 'name' => 'logging_all_tables_uniquid',
879 'type' => 'Boolean',
880 'quick_form_type' => 'YesNo',
881 'html_type' => '',
882 'default' => 0,
732b1d05 883 'title' => ts('All tables use Unique Connection ID'),
884 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
885 ],
886 'userFrameworkUsersTableName' => [
348754d5
TO
887 'add' => '4.7',
888 'help_text' => NULL,
889 'is_domain' => 1,
890 'is_contact' => 0,
891 'group_name' => 'CiviCRM Preferences',
892 'group' => 'core',
893 'name' => 'userFrameworkUsersTableName',
894 'type' => 'String',
895 'quick_form_type' => 'Element',
896 'html_type' => 'text',
dfe1f88a 897 'html_attributes' => [
348754d5
TO
898 'size' => '32',
899 'maxlength' => '64',
dfe1f88a 900 ],
d98d91bd
SL
901 'default' => 'users',
902 'title' => ts('CMS Users Table Name'),
348754d5 903 'description' => '',
dfe1f88a
CW
904 ],
905 'wpLoadPhp' => [
fdd770db
KC
906 'group_name' => 'CiviCRM Preferences',
907 'group' => 'core',
908 'name' => 'wpLoadPhp',
909 'type' => 'String',
910 'html_type' => 'text',
911 'quick_form_type' => 'Element',
fdd770db
KC
912 'default' => '',
913 'add' => '4.6',
732b1d05 914 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
915 'is_domain' => 1,
916 'is_contact' => 0,
732b1d05 917 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 918 'help_text' => NULL,
dfe1f88a
CW
919 ],
920 'secure_cache_timeout_minutes' => [
87334e0f
TO
921 'group_name' => 'CiviCRM Preferences',
922 'group' => 'core',
923 'name' => 'secure_cache_timeout_minutes',
924 'type' => 'Integer',
925 'quick_form_type' => 'Element',
926 'html_type' => 'text',
dfe1f88a 927 'html_attributes' => [
87334e0f
TO
928 'size' => 2,
929 'maxlength' => 8,
dfe1f88a 930 ],
87334e0f
TO
931 'default' => 20,
932 'add' => '4.7',
732b1d05 933 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
934 'is_domain' => 1,
935 'is_contact' => 0,
732b1d05 936 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 937 'help_text' => NULL,
dfe1f88a
CW
938 ],
939 'site_id' => [
1ab26c95
CW
940 'group_name' => 'CiviCRM Preferences',
941 'group' => 'core',
942 'name' => 'site_id',
943 'type' => 'String',
30fcf833 944 'quick_form_type' => 'Element',
945 'html_type' => 'text',
1ab26c95
CW
946 'default' => '',
947 'add' => '4.6',
732b1d05 948 'title' => ts('Unique Site ID'),
1ab26c95
CW
949 'is_domain' => 1,
950 'is_contact' => 0,
951 'description' => NULL,
952 'help_text' => NULL,
dfe1f88a
CW
953 ],
954 'recentItemsMaxCount' => [
ac5f7c7f
NH
955 'group_name' => 'CiviCRM Preferences',
956 'group' => 'core',
957 'name' => 'recentItemsMaxCount',
958 'type' => 'Integer',
959 'quick_form_type' => 'Element',
960 'html_type' => 'text',
dfe1f88a 961 'html_attributes' => [
ac5f7c7f 962 'size' => 2,
136b401b 963 'maxlength' => 3,
dfe1f88a 964 ],
ac5f7c7f
NH
965 'default' => 20,
966 'add' => '4.7',
732b1d05 967 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
968 'is_domain' => 1,
969 'is_contact' => 0,
732b1d05 970 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 971 'help_text' => NULL,
dfe1f88a
CW
972 ],
973 'recentItemsProviders' => [
ac5f7c7f
NH
974 'group_name' => 'CiviCRM Preferences',
975 'group' => 'core',
976 'name' => 'recentItemsProviders',
977 'type' => 'Array',
978 'html_type' => 'Select',
979 'quick_form_type' => 'Select',
dfe1f88a 980 'html_attributes' => [
ac5f7c7f
NH
981 'multiple' => 1,
982 'class' => 'crm-select2',
dfe1f88a 983 ],
ac5f7c7f
NH
984 'default' => '',
985 'add' => '4.7',
732b1d05 986 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
987 'is_domain' => 1,
988 'is_contact' => 0,
732b1d05 989 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 990 'help_text' => NULL,
dfe1f88a 991 'pseudoconstant' => [
136b401b 992 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
993 ],
994 ],
995 'dedupe_default_limit' => [
30fcf833 996 'group_name' => 'CiviCRM Preferences',
997 'group' => 'core',
998 'name' => 'dedupe_default_limit',
999 'type' => 'Integer',
1000 'default' => 0,
1001 'quick_form_type' => 'Element',
1002 'html_type' => 'text',
1003 'add' => '4.7',
732b1d05 1004 'title' => ts('Default limit for dedupe screen'),
30fcf833 1005 'is_domain' => 1,
1006 'is_contact' => 0,
1007 'description' => ts('Default to only loading matches against this number of contacts'),
1008 '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
1009 ],
1010 'syncCMSEmail' => [
5e7f101a 1011 'group_name' => 'CiviCRM Preferences',
1012 'group' => 'core',
1013 'name' => 'syncCMSEmail',
1014 'type' => 'Boolean',
c89a43b3 1015 'html_type' => 'YesNo',
5e7f101a 1016 'quick_form_type' => 'YesNo',
1017 'default' => 1,
1018 'add' => '4.7',
c89a43b3 1019 'title' => ts('Sync CMS Email'),
5e7f101a 1020 'is_domain' => 1,
1021 'is_contact' => 0,
c89a43b3 1022 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 1023 'help_text' => NULL,
dfe1f88a
CW
1024 ],
1025 'preserve_activity_tab_filter' => [
a6d192c8 1026 'group_name' => 'CiviCRM Preferences',
1027 'group' => 'core',
1028 'name' => 'preserve_activity_tab_filter',
c89a43b3 1029 'type' => 'Boolean',
1030 'html_type' => 'checkbox',
a6d192c8 1031 'default' => '0',
1032 'add' => '4.7',
c89a43b3 1033 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 1034 'is_domain' => 1,
1035 'is_contact' => 0,
c89a43b3 1036 '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
1037 ],
1038 'do_not_notify_assignees_for' => [
b5407aa9 1039 'group_name' => 'CiviCRM Preferences',
ac983377 1040 'group' => 'core',
b5407aa9 1041 'name' => 'do_not_notify_assignees_for',
ac983377
JP
1042 'type' => 'Array',
1043 'add' => '4.7',
1044 'is_domain' => 1,
e74d9a43 1045 'is_contact' => 0,
dfe1f88a 1046 'default' => [],
719eda4a 1047 'title' => ts('Do not notify assignees for'),
1048 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
1049 'html_type' => 'select',
dfe1f88a 1050 'html_attributes' => [
b5407aa9
JP
1051 'multiple' => 1,
1052 'class' => 'huge crm-select2',
dfe1f88a
CW
1053 ],
1054 'pseudoconstant' => [
ac983377 1055 'optionGroupName' => 'activity_type',
dfe1f88a 1056 ],
b5407aa9 1057 'quick_form_type' => 'Select',
dfe1f88a
CW
1058 ],
1059 'menubar_position' => [
b30809e4
CW
1060 'group_name' => 'CiviCRM Preferences',
1061 'group' => 'core',
1062 'name' => 'menubar_position',
1063 'type' => 'String',
1064 'html_type' => 'select',
1065 'default' => 'over-cms-menu',
8a52ae34 1066 'add' => '5.12',
b30809e4
CW
1067 'title' => ts('Menubar position'),
1068 'is_domain' => 1,
1069 'is_contact' => 0,
1070 'description' => ts('Location of the CiviCRM main menu.'),
1071 'help_text' => NULL,
dfe1f88a 1072 'options' => [
b30809e4
CW
1073 'over-cms-menu' => ts('Replace website menu'),
1074 'below-cms-menu' => ts('Below website menu'),
1075 'above-crm-container' => ts('Above content area'),
1076 'none' => ts('None - disable menu'),
dfe1f88a
CW
1077 ],
1078 ],
1079 'menubar_color' => [
8a52ae34
CW
1080 'group_name' => 'CiviCRM Preferences',
1081 'group' => 'core',
1082 'name' => 'menubar_color',
1083 'type' => 'String',
1084 'html_type' => 'color',
1085 'default' => '#1b1b1b',
1086 'add' => '5.13',
1087 'title' => ts('Menubar color'),
1088 'is_domain' => 1,
1089 'is_contact' => 0,
1090 'description' => ts('Color of the CiviCRM main menu.'),
1091 'help_text' => NULL,
0f4485f5 1092 'validate_callback' => 'CRM_Utils_Color::normalize',
dfe1f88a 1093 ],
6cb3fe2e
SL
1094 'requestableMimeTypes' => [
1095 'group_name' => 'CiviCRM Preferences',
1096 'group' => 'core',
1097 'name' => 'requestableMimeTypes',
1098 'type' => 'String',
1099 'html_type' => 'Text',
1100 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1101 'add' => '5.13',
1102 'title' => ts('Mime Types that can be passed as URL params'),
1103 'is_domain' => 1,
1104 'is_contact' => 0,
1105 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1106 'help_text' => NULL,
1107 ],
d89d2545
TO
1108 'theme_frontend' => [
1109 'group_name' => 'CiviCRM Preferences',
1110 'group' => 'core',
1111 'name' => 'theme_frontend',
1112 'type' => 'String',
1113 'quick_form_type' => 'Select',
1114 'html_type' => 'Select',
1115 'html_attributes' => array(
1116 'class' => 'crm-select2',
1117 ),
1118 'pseudoconstant' => array(
1119 'callback' => 'call://themes/getAvailable',
1120 ),
1121 'default' => 'default',
4ef562f6 1122 'add' => '5.16',
d89d2545
TO
1123 'title' => ts('Frontend Theme'),
1124 'is_domain' => 1,
1125 'is_contact' => 0,
1126 'description' => ts('Theme to use on frontend pages'),
1127 'help_text' => NULL,
1128 ],
1129 'theme_backend' => [
1130 'group_name' => 'CiviCRM Preferences',
1131 'group' => 'core',
1132 'name' => 'theme_backend',
1133 'type' => 'String',
1134 'quick_form_type' => 'Select',
1135 'html_type' => 'Select',
1136 'html_attributes' => array(
1137 'class' => 'crm-select2',
1138 ),
1139 'pseudoconstant' => array(
1140 'callback' => 'call://themes/getAvailable',
1141 ),
1142 'default' => 'default',
4ef562f6 1143 'add' => '5.16',
d89d2545
TO
1144 'title' => ts('Backend Theme'),
1145 'is_domain' => 1,
1146 'is_contact' => 0,
1147 'description' => ts('Theme to use on backend pages'),
1148 'help_text' => NULL,
1149 ],
9679fb15
SL
1150 'http_timeout' => [
1151 'group_name' => 'CiviCRM Preferences',
1152 'group' => 'core',
1153 'name' => 'http_timeout',
1154 'type' => 'Integer',
1155 'quick_form_type' => 'Element',
1156 'html_type' => 'text',
1157 'html_attributes' => [
1158 'size' => 2,
1159 'maxlength' => 3,
1160 ],
1161 'default' => 5,
d79f40ee 1162 'add' => '5.14',
9679fb15
SL
1163 'title' => ts('HTTP request timeout'),
1164 'is_domain' => 1,
1165 'is_contact' => 0,
1166 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'),
1167 'help_text' => ts('Set the number of seconds http requests should run for before terminating'),
1168 ],
dfe1f88a 1169];