Merge pull request #13047 from eileenmcnaughton/settings_contribution_prefs
[civicrm-core.git] / settings / Case.setting.php
CommitLineData
b83de994
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
fee14197 4 | CiviCRM version 5 |
b83de994
TO
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 */
39return 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 ),
ec61a2b2 50 'default' => 'default',
b83de994
TO
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 ),
ec61a2b2 58 'description' => 'Should activity emails be redacted? (Set "Default" to load setting from the legacy "Settings.xml" file.)',
b83de994
TO
59 'help_text' => '',
60 ),
c8fd28dc 61 'civicaseAllowMultipleClients' => array(
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',
68 'html_attributes' => array(
69 //'class' => 'crm-select2',
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,
76 'pseudoconstant' => array(
77 'callback' => 'CRM_Case_Info::getMultiClientOptions',
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
TO
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 ),
ec61a2b2 92 'default' => 'default',
b83de994
TO
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 ),
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
TO
101 'help_text' => '',
102 ),
b86c2be0
TO
103 'civicaseActivityRevisions' => array(
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' => '',
117 ),
b83de994 118);