Merge pull request #11578 from jitendrapurohit/CRM-20697
[civicrm-core.git] / settings / Case.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | CiviCRM version 5 |
5 +--------------------------------------------------------------------+
6 | Copyright CiviCRM LLC (c) 2004-2017 |
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
31 * @copyright CiviCRM LLC (c) 2004-2017
32 * $Id$
33 *
34 */
35
36 /**
37 * Settings metadata file
38 */
39 return array(
40 'civicaseRedactActivityEmail' => array(
41 'group_name' => 'CiviCRM Preferences',
42 'group' => 'core',
43 'name' => 'civicaseRedactActivityEmail',
44 'type' => 'String',
45 'quick_form_type' => 'Select',
46 'html_type' => 'Select',
47 'html_attributes' => array(
48 //'class' => 'crm-select2',
49 ),
50 'default' => 'default',
51 'add' => '4.7',
52 'title' => 'Redact Activity Email',
53 'is_domain' => 1,
54 'is_contact' => 0,
55 'pseudoconstant' => array(
56 'callback' => 'CRM_Case_Info::getRedactOptions',
57 ),
58 'description' => 'Should activity emails be redacted? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
59 'help_text' => '',
60 ),
61 'civicaseAllowMultipleClients' => array(
62 'group_name' => 'CiviCRM Preferences',
63 'group' => 'core',
64 'name' => 'civicaseAllowMultipleClients',
65 'type' => 'String',
66 'quick_form_type' => 'Select',
67 'html_type' => 'Select',
68 'html_attributes' => array(
69 //'class' => 'crm-select2',
70 ),
71 'default' => 'default',
72 'add' => '4.7',
73 'title' => 'Allow Multiple Case Clients',
74 'is_domain' => 1,
75 'is_contact' => 0,
76 'pseudoconstant' => array(
77 'callback' => 'CRM_Case_Info::getMultiClientOptions',
78 ),
79 'description' => 'How many clients may be associated with a given case? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
80 'help_text' => '',
81 ),
82 'civicaseNaturalActivityTypeSort' => array(
83 'group_name' => 'CiviCRM Preferences',
84 'group' => 'core',
85 'name' => 'civicaseNaturalActivityTypeSort',
86 'type' => 'String',
87 'quick_form_type' => 'Select',
88 'html_type' => 'Select',
89 'html_attributes' => array(
90 //'class' => 'crm-select2',
91 ),
92 'default' => 'default',
93 'add' => '4.7',
94 'title' => 'Activity Type Sorting',
95 'is_domain' => 1,
96 'is_contact' => 0,
97 'pseudoconstant' => array(
98 'callback' => 'CRM_Case_Info::getSortOptions',
99 ),
100 'description' => 'How to sort activity-types on the "Manage Case" screen? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
101 'help_text' => '',
102 ),
103 'civicaseActivityRevisions' => array(
104 'group_name' => 'CiviCRM Preferences',
105 'group' => 'core',
106 'name' => 'civicaseActivityRevisions',
107 'type' => 'Boolean',
108 'quick_form_type' => 'YesNo',
109 'default' => FALSE,
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' => '',
117 ),
118 );