Move financial acl setting to the extension
[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 ],
378 'description' => ts('Should the acl cache be by cron jobs or user actions'),
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 ],
532 'wkhtmltopdfPath' => [
6a488035
TO
533 'group_name' => 'CiviCRM Preferences',
534 'group' => 'core',
535 'name' => 'wkhtmltopdfPath',
6a488035
TO
536 'type' => 'String',
537 'quick_form_type' => 'Element',
dfe1f88a 538 'html_attributes' => [
6a488035
TO
539 'size' => 64,
540 'maxlength' => 256,
dfe1f88a 541 ],
c1a2145a 542 'html_type' => 'text',
08e57c58 543 'default' => NULL,
6a488035 544 'add' => '4.3',
732b1d05 545 'title' => ts('Path to wkhtmltopdf executable'),
6a488035
TO
546 'is_domain' => 1,
547 'is_contact' => 0,
08e57c58
TO
548 'description' => NULL,
549 'help_text' => NULL,
dfe1f88a 550 ],
dfe1f88a 551 'checksum_timeout' => [
6a488035
TO
552 'group_name' => 'CiviCRM Preferences',
553 'group' => 'core',
92a8de72 554 'name' => 'checksum_timeout',
6a488035
TO
555 'type' => 'Integer',
556 'quick_form_type' => 'Element',
dfe1f88a 557 'html_attributes' => [
6a488035
TO
558 'size' => 2,
559 'maxlength' => 8,
dfe1f88a 560 ],
c1a2145a 561 'html_type' => 'text',
6a488035
TO
562 'default' => 7,
563 'add' => '4.3',
732b1d05 564 'title' => ts('Checksum Lifespan'),
6a488035
TO
565 'is_domain' => 1,
566 'is_contact' => 0,
08e57c58
TO
567 'description' => NULL,
568 'help_text' => NULL,
dfe1f88a
CW
569 ],
570 'blogUrl' => [
4b030206
TO
571 'group_name' => 'CiviCRM Preferences',
572 'group' => 'core',
573 'name' => 'blogUrl',
4b030206
TO
574 'type' => 'String',
575 'quick_form_type' => 'Element',
dfe1f88a 576 'html_attributes' => [
4b030206
TO
577 'size' => 64,
578 'maxlength' => 128,
dfe1f88a 579 ],
c1a2145a 580 'html_type' => 'text',
4b030206
TO
581 'default' => '*default*',
582 'add' => '4.3',
732b1d05 583 'title' => ts('Blog Feed URL'),
4b030206
TO
584 'is_domain' => 1,
585 'is_contact' => 0,
732b1d05 586 'description' => ts('Blog feed URL used by the blog dashlet'),
587 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
588 ],
589 'communityMessagesUrl' => [
847c93ac
TO
590 'group_name' => 'CiviCRM Preferences',
591 'group' => 'core',
592 'name' => 'communityMessagesUrl',
847c93ac
TO
593 'type' => 'String',
594 'quick_form_type' => 'Element',
dfe1f88a 595 'html_attributes' => [
847c93ac
TO
596 'size' => 64,
597 'maxlength' => 128,
dfe1f88a 598 ],
c1a2145a 599 'html_type' => 'text',
847c93ac
TO
600 'default' => '*default*',
601 'add' => '4.3',
732b1d05 602 'title' => ts('Community Messages URL'),
847c93ac
TO
603 'is_domain' => 1,
604 'is_contact' => 0,
732b1d05 605 'description' => ts('Service providing CiviCRM community messages'),
606 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
607 ],
608 'gettingStartedUrl' => [
1f957d1e
TO
609 'group_name' => 'CiviCRM Preferences',
610 'group' => 'core',
611 'name' => 'gettingStartedUrl',
612 'type' => 'String',
613 'quick_form_type' => 'Element',
dfe1f88a 614 'html_attributes' => [
1f957d1e
TO
615 'size' => 64,
616 'maxlength' => 128,
dfe1f88a 617 ],
c1a2145a 618 'html_type' => 'text',
1f957d1e
TO
619 'default' => '*default*',
620 'add' => '4.3',
732b1d05 621 'title' => ts('Getting Started URL'),
1f957d1e
TO
622 'is_domain' => 1,
623 'is_contact' => 0,
732b1d05 624 'description' => ts('Service providing the Getting Started data'),
625 'help_text' => ts('Use "*default*" for the system default or override with a custom URL'),
dfe1f88a
CW
626 ],
627 'resCacheCode' => [
6a488035
TO
628 'group_name' => 'CiviCRM Preferences',
629 'group' => 'core',
630 'name' => 'resCacheCode',
6a488035 631 'type' => 'String',
30fcf833 632 'quick_form_type' => 'Element',
633 'html_type' => 'text',
08e57c58 634 'default' => NULL,
6a488035 635 'add' => '4.3',
732b1d05 636 'title' => ts('resCacheCode'),
6a488035
TO
637 'is_domain' => 1,
638 'is_contact' => 0,
732b1d05 639 'description' => ts('Code appended to resource URLs (JS/CSS) to coerce HTTP caching'),
08e57c58 640 'help_text' => NULL,
dfe1f88a
CW
641 ],
642 'verifySSL' => [
6a488035
TO
643 'group_name' => 'CiviCRM Preferences',
644 'group' => 'core',
645 'name' => 'verifySSL',
646 'type' => 'Boolean',
647 'quick_form_type' => 'YesNo',
648 'default' => 1,
649 'add' => '4.3',
732b1d05 650 'title' => ts('Verify SSL?'),
6a488035
TO
651 'is_domain' => 1,
652 'is_contact' => 0,
732b1d05 653 'description' => ts('If disabled, outbound web-service requests will allow unverified, insecure HTTPS connections'),
654 '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
655 ],
656 'enableSSL' => [
28f07f05
TO
657 'group_name' => 'CiviCRM Preferences',
658 'group' => 'core',
659 'name' => 'enableSSL',
660 'type' => 'Boolean',
661 'quick_form_type' => 'YesNo',
662 'default' => 0,
663 'add' => '4.5',
732b1d05 664 'title' => ts('Force SSL?'),
28f07f05
TO
665 'is_domain' => 1,
666 'is_contact' => 0,
732b1d05 667 'description' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
668 'help_text' => ts('If enabled, inbound HTTP requests for sensitive pages will be redirected to HTTPS.'),
dfe1f88a
CW
669 ],
670 'wpBasePage' => [
94c11eeb
DL
671 'group_name' => 'CiviCRM Preferences',
672 'group' => 'core',
673 'name' => 'wpBasePage',
674 'type' => 'String',
675 'html_type' => 'text',
676 'quick_form_type' => 'Element',
94c11eeb
DL
677 'default' => '',
678 'add' => '4.3',
732b1d05 679 'title' => ts('WordPress Base Page'),
94c11eeb
DL
680 'is_domain' => 1,
681 'is_contact' => 0,
732b1d05 682 'description' => ts('If set, CiviCRM will use this setting as the base url.'),
683 '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
684 ],
685 'secondDegRelPermissions' => [
d5f1ee75
DG
686 'group_name' => 'CiviCRM Preferences',
687 'group' => 'core',
688 'name' => 'secondDegRelPermissions',
d5f1ee75
DG
689 'type' => 'Boolean',
690 'quick_form_type' => 'YesNo',
691 'default' => 0,
692 'add' => '4.3',
732b1d05 693 'title' => ts('Allow second-degree relationship permissions'),
d5f1ee75
DG
694 'is_domain' => 1,
695 'is_contact' => 0,
732b1d05 696 '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 697 'help_text' => NULL,
dfe1f88a
CW
698 ],
699 'enable_components' => [
ac47f7ca 700 'bootstrap_comment' => 'This is a boot setting which may be loaded during bootstrap. Defaults are loaded via SettingsBag::getSystemDefaults().',
86eeab72
DS
701 'group_name' => 'CiviCRM Preferences',
702 'group' => 'core',
56fdfc52 703 'name' => 'enable_components',
86eeab72 704 'type' => 'Array',
bfd9c358 705 'html_type' => 'checkboxes',
ac47f7ca 706 'default' => NULL,
56fdfc52 707 'add' => '4.4',
732b1d05 708 'title' => ts('Enable Components'),
86eeab72
DS
709 'is_domain' => '1',
710 'is_contact' => 0,
08e57c58 711 'description' => NULL,
56fdfc52 712 'help_text' => NULL,
dfe1f88a 713 'on_change' => [
c8074a93
TO
714 'CRM_Case_Info::onToggleComponents',
715 'CRM_Core_Component::flushEnabledComponents',
716 'call://resources/resetCacheCode',
dfe1f88a 717 ],
281db812 718 'pseudoconstant' => [
719 'callback' => 'CRM_Core_SelectValues::getComponentSelectValues',
720 ],
dfe1f88a
CW
721 ],
722 'disable_core_css' => [
14f20d22
CW
723 'group_name' => 'CiviCRM Preferences',
724 'group' => 'core',
725 'name' => 'disable_core_css',
726 'type' => 'Boolean',
727 'quick_form_type' => 'YesNo',
728 'default' => '0',
729 'add' => '4.4',
732b1d05 730 'title' => ts('Disable CiviCRM css'),
14f20d22
CW
731 'is_domain' => 1,
732 'is_contact' => 0,
732b1d05 733 'description' => ts('Prevent the stylesheet "civicrm.css" from being loaded.'),
14f20d22 734 'help_text' => NULL,
dfe1f88a
CW
735 ],
736 'empoweredBy' => [
466913fc
AH
737 'group_name' => 'CiviCRM Preferences',
738 'group' => 'core',
739 'name' => 'empoweredBy',
740 'type' => 'Boolean',
741 'quick_form_type' => 'YesNo',
742 'default' => 1,
743 'add' => '4.5',
732b1d05 744 'title' => ts('Display "empowered by CiviCRM"'),
466913fc
AH
745 'is_domain' => 1,
746 'is_contact' => 0,
732b1d05 747 'description' => ts('When enabled, "empowered by CiviCRM" is displayed at the bottom of public forms.'),
08e57c58 748 'help_text' => NULL,
dfe1f88a
CW
749 ],
750 'logging_no_trigger_permission' => [
f76ec559
TO
751 'add' => '4.7',
752 'is_domain' => 1,
753 'is_contact' => 0,
754 'group_name' => 'CiviCRM Preferences',
755 'group' => 'core',
756 '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.'),
757 'name' => 'logging_no_trigger_permission',
758 'type' => 'Boolean',
759 'quick_form_type' => 'YesNo',
760 'html_type' => '',
761 'default' => 0,
732b1d05 762 'title' => ts('(EXPERIMENTAL) MySQL user does not have trigger permissions'),
763 'description' => ts('Set this when you intend to manage trigger creation outside of CiviCRM'),
dfe1f88a
CW
764 ],
765 'logging' => [
e299c1d0 766 'add' => '4.7',
e299c1d0
TO
767 'help_text' => NULL,
768 'is_domain' => 1,
769 'is_contact' => 0,
770 'group_name' => 'CiviCRM Preferences',
771 'group' => 'core',
772 'name' => 'logging',
773 'type' => 'Boolean',
774 'quick_form_type' => 'YesNo',
775 'html_type' => '',
776 'default' => '0',
732b1d05 777 'title' => ts('Logging'),
778 'description' => ts('If enabled, all actions will be logged with a complete record of changes.'),
e299c1d0 779 'validate_callback' => 'CRM_Logging_Schema::checkLoggingSupport',
dfe1f88a 780 'on_change' => [
e299c1d0 781 'CRM_Logging_Schema::onToggle',
dfe1f88a
CW
782 ],
783 ],
784 'logging_uniqueid_date' => [
8dd883ca 785 'add' => '4.7',
786 'help_text' => ts('This is the date when CRM-18193 was implemented'),
787 'is_domain' => 1,
788 'is_contact' => 0,
789 'group_name' => 'CiviCRM Preferences',
790 'group' => 'core',
791 'name' => 'logging_uniqueid_date',
792 'type' => 'Date',
793 'quick_form_type' => 'DateTime',
794 'html_type' => '',
795 'default' => NULL,
732b1d05 796 'title' => ts('Logging Unique ID not recorded before'),
797 'description' => ts('This is the date when CRM-18193 was implemented'),
dfe1f88a
CW
798 ],
799 'logging_all_tables_uniquid' => [
8dd883ca 800 'add' => '4.7',
801 'help_text' => ts('This indicates there are no tables holdng pre-uniqid log_conn_id values (CRM-18193)'),
802 'is_domain' => 1,
803 'is_contact' => 0,
804 'group_name' => 'CiviCRM Preferences',
805 'group' => 'core',
806 'name' => 'logging_all_tables_uniquid',
807 'type' => 'Boolean',
808 'quick_form_type' => 'YesNo',
809 'html_type' => '',
810 'default' => 0,
732b1d05 811 'title' => ts('All tables use Unique Connection ID'),
812 'description' => ts('Do some tables pre-date CRM-18193?'),
dfe1f88a
CW
813 ],
814 'userFrameworkUsersTableName' => [
348754d5
TO
815 'add' => '4.7',
816 'help_text' => NULL,
817 'is_domain' => 1,
818 'is_contact' => 0,
819 'group_name' => 'CiviCRM Preferences',
820 'group' => 'core',
821 'name' => 'userFrameworkUsersTableName',
822 'type' => 'String',
823 'quick_form_type' => 'Element',
824 'html_type' => 'text',
dfe1f88a 825 'html_attributes' => [
348754d5
TO
826 'size' => '32',
827 'maxlength' => '64',
dfe1f88a 828 ],
d98d91bd
SL
829 'default' => 'users',
830 'title' => ts('CMS Users Table Name'),
348754d5 831 'description' => '',
dfe1f88a
CW
832 ],
833 'wpLoadPhp' => [
fdd770db
KC
834 'group_name' => 'CiviCRM Preferences',
835 'group' => 'core',
836 'name' => 'wpLoadPhp',
837 'type' => 'String',
838 'html_type' => 'text',
839 'quick_form_type' => 'Element',
fdd770db
KC
840 'default' => '',
841 'add' => '4.6',
732b1d05 842 'title' => ts('WordPress Path to wp-load.php'),
fdd770db
KC
843 'is_domain' => 1,
844 'is_contact' => 0,
732b1d05 845 'description' => ts('CiviCRM will use this setting as path to bootstrap WP.'),
fdd770db 846 'help_text' => NULL,
dfe1f88a
CW
847 ],
848 'secure_cache_timeout_minutes' => [
87334e0f
TO
849 'group_name' => 'CiviCRM Preferences',
850 'group' => 'core',
851 'name' => 'secure_cache_timeout_minutes',
852 'type' => 'Integer',
853 'quick_form_type' => 'Element',
854 'html_type' => 'text',
dfe1f88a 855 'html_attributes' => [
87334e0f
TO
856 'size' => 2,
857 'maxlength' => 8,
dfe1f88a 858 ],
87334e0f
TO
859 'default' => 20,
860 'add' => '4.7',
732b1d05 861 'title' => ts('Secure Cache Timeout'),
87334e0f
TO
862 'is_domain' => 1,
863 'is_contact' => 0,
732b1d05 864 'description' => ts('Maximum number of minutes that secure form data should linger'),
87334e0f 865 'help_text' => NULL,
dfe1f88a
CW
866 ],
867 'site_id' => [
1ab26c95
CW
868 'group_name' => 'CiviCRM Preferences',
869 'group' => 'core',
870 'name' => 'site_id',
871 'type' => 'String',
30fcf833 872 'quick_form_type' => 'Element',
873 'html_type' => 'text',
1ab26c95
CW
874 'default' => '',
875 'add' => '4.6',
732b1d05 876 'title' => ts('Unique Site ID'),
1ab26c95
CW
877 'is_domain' => 1,
878 'is_contact' => 0,
879 'description' => NULL,
880 'help_text' => NULL,
dfe1f88a
CW
881 ],
882 'recentItemsMaxCount' => [
ac5f7c7f
NH
883 'group_name' => 'CiviCRM Preferences',
884 'group' => 'core',
885 'name' => 'recentItemsMaxCount',
886 'type' => 'Integer',
887 'quick_form_type' => 'Element',
888 'html_type' => 'text',
dfe1f88a 889 'html_attributes' => [
ac5f7c7f 890 'size' => 2,
136b401b 891 'maxlength' => 3,
dfe1f88a 892 ],
ac5f7c7f
NH
893 'default' => 20,
894 'add' => '4.7',
732b1d05 895 'title' => ts('Size of "Recent Items" stack'),
ac5f7c7f
NH
896 'is_domain' => 1,
897 'is_contact' => 0,
732b1d05 898 'description' => ts('How many items should CiviCRM store in it\'s "Recently viewed" list.'),
ac5f7c7f 899 'help_text' => NULL,
dfe1f88a
CW
900 ],
901 'recentItemsProviders' => [
ac5f7c7f
NH
902 'group_name' => 'CiviCRM Preferences',
903 'group' => 'core',
904 'name' => 'recentItemsProviders',
905 'type' => 'Array',
906 'html_type' => 'Select',
907 'quick_form_type' => 'Select',
dfe1f88a 908 'html_attributes' => [
ac5f7c7f
NH
909 'multiple' => 1,
910 'class' => 'crm-select2',
dfe1f88a 911 ],
ac5f7c7f
NH
912 'default' => '',
913 'add' => '4.7',
732b1d05 914 'title' => ts('Recent Items Providers'),
ac5f7c7f
NH
915 'is_domain' => 1,
916 'is_contact' => 0,
732b1d05 917 'description' => ts('What providers may save views in CiviCRM\'s "Recently viewed" list. If empty, all are in.'),
ac5f7c7f 918 'help_text' => NULL,
dfe1f88a 919 'pseudoconstant' => [
136b401b 920 'callback' => 'CRM_Utils_Recent::getProviders',
dfe1f88a
CW
921 ],
922 ],
923 'dedupe_default_limit' => [
30fcf833 924 'group_name' => 'CiviCRM Preferences',
925 'group' => 'core',
926 'name' => 'dedupe_default_limit',
927 'type' => 'Integer',
928 'default' => 0,
929 'quick_form_type' => 'Element',
930 'html_type' => 'text',
931 'add' => '4.7',
732b1d05 932 'title' => ts('Default limit for dedupe screen'),
30fcf833 933 'is_domain' => 1,
934 'is_contact' => 0,
935 'description' => ts('Default to only loading matches against this number of contacts'),
936 '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
937 ],
938 'syncCMSEmail' => [
5e7f101a 939 'group_name' => 'CiviCRM Preferences',
940 'group' => 'core',
941 'name' => 'syncCMSEmail',
942 'type' => 'Boolean',
c89a43b3 943 'html_type' => 'YesNo',
5e7f101a 944 'quick_form_type' => 'YesNo',
945 'default' => 1,
946 'add' => '4.7',
c89a43b3 947 'title' => ts('Sync CMS Email'),
5e7f101a 948 'is_domain' => 1,
949 'is_contact' => 0,
c89a43b3 950 'description' => ts('If enabled, then CMS email id will be synchronised with CiviCRM contacts\'s primary email.'),
5e7f101a 951 'help_text' => NULL,
dfe1f88a
CW
952 ],
953 'preserve_activity_tab_filter' => [
a6d192c8 954 'group_name' => 'CiviCRM Preferences',
955 'group' => 'core',
956 'name' => 'preserve_activity_tab_filter',
c89a43b3 957 'type' => 'Boolean',
958 'html_type' => 'checkbox',
a6d192c8 959 'default' => '0',
960 'add' => '4.7',
c89a43b3 961 'title' => ts('Preserve activity filters as a user preference'),
a6d192c8 962 'is_domain' => 1,
963 'is_contact' => 0,
c89a43b3 964 '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
965 ],
966 'do_not_notify_assignees_for' => [
b5407aa9 967 'group_name' => 'CiviCRM Preferences',
ac983377 968 'group' => 'core',
b5407aa9 969 'name' => 'do_not_notify_assignees_for',
ac983377
JP
970 'type' => 'Array',
971 'add' => '4.7',
972 'is_domain' => 1,
e74d9a43 973 'is_contact' => 0,
dfe1f88a 974 'default' => [],
719eda4a 975 'title' => ts('Do not notify assignees for'),
976 'description' => ts('These activity types will be excluded from automated email notifications to assignees.'),
977 'html_type' => 'select',
dfe1f88a 978 'html_attributes' => [
b5407aa9
JP
979 'multiple' => 1,
980 'class' => 'huge crm-select2',
dfe1f88a
CW
981 ],
982 'pseudoconstant' => [
ac983377 983 'optionGroupName' => 'activity_type',
dfe1f88a 984 ],
b5407aa9 985 'quick_form_type' => 'Select',
dfe1f88a
CW
986 ],
987 'menubar_position' => [
b30809e4
CW
988 'group_name' => 'CiviCRM Preferences',
989 'group' => 'core',
990 'name' => 'menubar_position',
991 'type' => 'String',
992 'html_type' => 'select',
993 'default' => 'over-cms-menu',
8a52ae34 994 'add' => '5.12',
b30809e4
CW
995 'title' => ts('Menubar position'),
996 'is_domain' => 1,
997 'is_contact' => 0,
998 'description' => ts('Location of the CiviCRM main menu.'),
999 'help_text' => NULL,
dfe1f88a 1000 'options' => [
b30809e4
CW
1001 'over-cms-menu' => ts('Replace website menu'),
1002 'below-cms-menu' => ts('Below website menu'),
1003 'above-crm-container' => ts('Above content area'),
1004 'none' => ts('None - disable menu'),
dfe1f88a
CW
1005 ],
1006 ],
1007 'menubar_color' => [
8a52ae34
CW
1008 'group_name' => 'CiviCRM Preferences',
1009 'group' => 'core',
1010 'name' => 'menubar_color',
1011 'type' => 'String',
1012 'html_type' => 'color',
1013 'default' => '#1b1b1b',
1014 'add' => '5.13',
1015 'title' => ts('Menubar color'),
1016 'is_domain' => 1,
1017 'is_contact' => 0,
1018 'description' => ts('Color of the CiviCRM main menu.'),
1019 'help_text' => NULL,
0f4485f5 1020 'validate_callback' => 'CRM_Utils_Color::normalize',
dfe1f88a 1021 ],
6cb3fe2e
SL
1022 'requestableMimeTypes' => [
1023 'group_name' => 'CiviCRM Preferences',
1024 'group' => 'core',
1025 'name' => 'requestableMimeTypes',
1026 'type' => 'String',
1027 'html_type' => 'Text',
1028 'default' => 'image/jpeg,image/pjpeg,image/gif,image/x-png,image/png,image/jpg,text/html,application/pdf',
1029 'add' => '5.13',
1030 'title' => ts('Mime Types that can be passed as URL params'),
1031 'is_domain' => 1,
1032 'is_contact' => 0,
1033 'description' => ts('Acceptable Mime Types that can be used as part of file urls'),
1034 'help_text' => NULL,
1035 ],
d89d2545
TO
1036 'theme_frontend' => [
1037 'group_name' => 'CiviCRM Preferences',
1038 'group' => 'core',
1039 'name' => 'theme_frontend',
1040 'type' => 'String',
1041 'quick_form_type' => 'Select',
1042 'html_type' => 'Select',
1043 'html_attributes' => array(
1044 'class' => 'crm-select2',
1045 ),
1046 'pseudoconstant' => array(
1047 'callback' => 'call://themes/getAvailable',
1048 ),
1049 'default' => 'default',
4ef562f6 1050 'add' => '5.16',
d89d2545
TO
1051 'title' => ts('Frontend Theme'),
1052 'is_domain' => 1,
1053 'is_contact' => 0,
1054 'description' => ts('Theme to use on frontend pages'),
1055 'help_text' => NULL,
1056 ],
1057 'theme_backend' => [
1058 'group_name' => 'CiviCRM Preferences',
1059 'group' => 'core',
1060 'name' => 'theme_backend',
1061 'type' => 'String',
1062 'quick_form_type' => 'Select',
1063 'html_type' => 'Select',
1064 'html_attributes' => array(
1065 'class' => 'crm-select2',
1066 ),
1067 'pseudoconstant' => array(
1068 'callback' => 'call://themes/getAvailable',
1069 ),
1070 'default' => 'default',
4ef562f6 1071 'add' => '5.16',
d89d2545
TO
1072 'title' => ts('Backend Theme'),
1073 'is_domain' => 1,
1074 'is_contact' => 0,
1075 'description' => ts('Theme to use on backend pages'),
1076 'help_text' => NULL,
1077 ],
9679fb15
SL
1078 'http_timeout' => [
1079 'group_name' => 'CiviCRM Preferences',
1080 'group' => 'core',
1081 'name' => 'http_timeout',
1082 'type' => 'Integer',
1083 'quick_form_type' => 'Element',
1084 'html_type' => 'text',
1085 'html_attributes' => [
1086 'size' => 2,
1087 'maxlength' => 3,
1088 ],
1089 'default' => 5,
d79f40ee 1090 'add' => '5.14',
9679fb15
SL
1091 'title' => ts('HTTP request timeout'),
1092 'is_domain' => 1,
1093 'is_contact' => 0,
1094 'description' => ts('How long should HTTP requests through Guzzle application run for in seconds'),
1095 'help_text' => ts('Set the number of seconds http requests should run for before terminating'),
1096 ],
dfe1f88a 1097];