Merge pull request #15973 from kcristiano/5.20-msg-tpl
[civicrm-core.git] / settings / Case.setting.php
CommitLineData
b83de994
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
b83de994 5 +--------------------------------------------------------------------+
6b83d5bd 6 | Copyright CiviCRM LLC (c) 2004-2019 |
b83de994
TO
7 +--------------------------------------------------------------------+
8 | This file is a part of CiviCRM. |
9 | |
10 | CiviCRM is free software; you can copy, modify, and distribute it |
11 | under the terms of the GNU Affero General Public License |
12 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
13 | |
14 | CiviCRM is distributed in the hope that it will be useful, but |
15 | WITHOUT ANY WARRANTY; without even the implied warranty of |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
17 | See the GNU Affero General Public License for more details. |
18 | |
19 | You should have received a copy of the GNU Affero General Public |
20 | License and the CiviCRM Licensing Exception along |
21 | with this program; if not, contact CiviCRM LLC |
22 | at info[AT]civicrm[DOT]org. If you have questions about the |
23 | GNU Affero General Public License or the licensing of CiviCRM, |
24 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
25 +--------------------------------------------------------------------+
26 */
27
28/**
29 *
30 * @package CRM
6b83d5bd 31 * @copyright CiviCRM LLC (c) 2004-2019
b83de994
TO
32 * $Id$
33 *
34 */
35
36/**
37 * Settings metadata file
38 */
dfe1f88a
CW
39return [
40 'civicaseRedactActivityEmail' => [
b83de994
TO
41 'group_name' => 'CiviCRM Preferences',
42 'group' => 'core',
43 'name' => 'civicaseRedactActivityEmail',
44 'type' => 'String',
45 'quick_form_type' => 'Select',
46 'html_type' => 'Select',
dfe1f88a 47 'html_attributes' => [
b83de994 48 //'class' => 'crm-select2',
dfe1f88a 49 ],
ec61a2b2 50 'default' => 'default',
b83de994
TO
51 'add' => '4.7',
52 'title' => 'Redact Activity Email',
53 'is_domain' => 1,
54 'is_contact' => 0,
dfe1f88a 55 'pseudoconstant' => [
b83de994 56 'callback' => 'CRM_Case_Info::getRedactOptions',
dfe1f88a 57 ],
ec61a2b2 58 'description' => 'Should activity emails be redacted? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
b83de994 59 'help_text' => '',
dfe1f88a
CW
60 ],
61 'civicaseAllowMultipleClients' => [
b83de994
TO
62 'group_name' => 'CiviCRM Preferences',
63 'group' => 'core',
c8fd28dc 64 'name' => 'civicaseAllowMultipleClients',
b83de994
TO
65 'type' => 'String',
66 'quick_form_type' => 'Select',
67 'html_type' => 'Select',
dfe1f88a 68 'html_attributes' => [
b83de994 69 //'class' => 'crm-select2',
dfe1f88a 70 ],
ec61a2b2 71 'default' => 'default',
b83de994
TO
72 'add' => '4.7',
73 'title' => 'Allow Multiple Case Clients',
74 'is_domain' => 1,
75 'is_contact' => 0,
dfe1f88a 76 'pseudoconstant' => [
b83de994 77 'callback' => 'CRM_Case_Info::getMultiClientOptions',
dfe1f88a 78 ],
ec61a2b2 79 'description' => 'How many clients may be associated with a given case? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
b83de994 80 'help_text' => '',
dfe1f88a
CW
81 ],
82 'civicaseNaturalActivityTypeSort' => [
b83de994
TO
83 'group_name' => 'CiviCRM Preferences',
84 'group' => 'core',
85 'name' => 'civicaseNaturalActivityTypeSort',
86 'type' => 'String',
87 'quick_form_type' => 'Select',
88 'html_type' => 'Select',
dfe1f88a 89 'html_attributes' => [
b83de994 90 //'class' => 'crm-select2',
dfe1f88a 91 ],
ec61a2b2 92 'default' => 'default',
b83de994
TO
93 'add' => '4.7',
94 'title' => 'Activity Type Sorting',
95 'is_domain' => 1,
96 'is_contact' => 0,
dfe1f88a 97 'pseudoconstant' => [
b83de994 98 'callback' => 'CRM_Case_Info::getSortOptions',
dfe1f88a 99 ],
ec61a2b2 100 'description' => 'How to sort activity-types on the "Manage Case" screen? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
b83de994 101 'help_text' => '',
dfe1f88a
CW
102 ],
103 'civicaseActivityRevisions' => [
b86c2be0
TO
104 'group_name' => 'CiviCRM Preferences',
105 'group' => 'core',
106 'name' => 'civicaseActivityRevisions',
107 'type' => 'Boolean',
108 'quick_form_type' => 'YesNo',
58e9d364 109 'default' => FALSE,
b86c2be0
TO
110 'html_type' => 'radio',
111 'add' => '4.7',
112 'title' => 'Enable Embedded Activity Revisions',
113 'is_domain' => 1,
114 'is_contact' => 0,
115 'description' => 'Enable tracking of activity revisions embedded within the "civicrm_activity" table. Alternatively, see "Administer => System Settings => Misc => Logging".',
116 'help_text' => '',
dfe1f88a
CW
117 ],
118];