X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCase.setting.php;h=f85cd0af3b6f64ea5253426a0fbc70162a4bdaae;hb=f29d38d9a7c94559f8de59281cc9abd6513af159;hp=c4f4772e82b4e3bb6e316907faa0ec599032d360;hpb=edae2a2c7bc01f231eb72a9f385d133d757c1bec;p=civicrm-core.git diff --git a/settings/Case.setting.php b/settings/Case.setting.php index c4f4772e82..f85cd0af3b 100644 --- a/settings/Case.setting.php +++ b/settings/Case.setting.php @@ -3,7 +3,7 @@ +--------------------------------------------------------------------+ | CiviCRM version 5 | +--------------------------------------------------------------------+ - | Copyright CiviCRM LLC (c) 2004-2017 | + | Copyright CiviCRM LLC (c) 2004-2019 | +--------------------------------------------------------------------+ | This file is a part of CiviCRM. | | | @@ -28,7 +28,7 @@ /** * * @package CRM - * @copyright CiviCRM LLC (c) 2004-2017 + * @copyright CiviCRM LLC (c) 2004-2019 * $Id$ * */ @@ -36,71 +36,71 @@ /** * Settings metadata file */ -return array( - 'civicaseRedactActivityEmail' => array( +return [ + 'civicaseRedactActivityEmail' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'civicaseRedactActivityEmail', 'type' => 'String', 'quick_form_type' => 'Select', 'html_type' => 'Select', - 'html_attributes' => array( + 'html_attributes' => [ //'class' => 'crm-select2', - ), + ], 'default' => 'default', 'add' => '4.7', 'title' => 'Redact Activity Email', 'is_domain' => 1, 'is_contact' => 0, - 'pseudoconstant' => array( + 'pseudoconstant' => [ 'callback' => 'CRM_Case_Info::getRedactOptions', - ), + ], 'description' => 'Should activity emails be redacted? (Set "Default" to load setting from the legacy "Settings.xml" file.)', 'help_text' => '', - ), - 'civicaseAllowMultipleClients' => array( + ], + 'civicaseAllowMultipleClients' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'civicaseAllowMultipleClients', 'type' => 'String', 'quick_form_type' => 'Select', 'html_type' => 'Select', - 'html_attributes' => array( + 'html_attributes' => [ //'class' => 'crm-select2', - ), + ], 'default' => 'default', 'add' => '4.7', 'title' => 'Allow Multiple Case Clients', 'is_domain' => 1, 'is_contact' => 0, - 'pseudoconstant' => array( + 'pseudoconstant' => [ 'callback' => 'CRM_Case_Info::getMultiClientOptions', - ), + ], 'description' => 'How many clients may be associated with a given case? (Set "Default" to load setting from the legacy "Settings.xml" file.)', 'help_text' => '', - ), - 'civicaseNaturalActivityTypeSort' => array( + ], + 'civicaseNaturalActivityTypeSort' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'civicaseNaturalActivityTypeSort', 'type' => 'String', 'quick_form_type' => 'Select', 'html_type' => 'Select', - 'html_attributes' => array( + 'html_attributes' => [ //'class' => 'crm-select2', - ), + ], 'default' => 'default', 'add' => '4.7', 'title' => 'Activity Type Sorting', 'is_domain' => 1, 'is_contact' => 0, - 'pseudoconstant' => array( + 'pseudoconstant' => [ 'callback' => 'CRM_Case_Info::getSortOptions', - ), + ], 'description' => 'How to sort activity-types on the "Manage Case" screen? (Set "Default" to load setting from the legacy "Settings.xml" file.)', 'help_text' => '', - ), - 'civicaseActivityRevisions' => array( + ], + 'civicaseActivityRevisions' => [ 'group_name' => 'CiviCRM Preferences', 'group' => 'core', 'name' => 'civicaseActivityRevisions', @@ -114,5 +114,5 @@ return array( 'is_contact' => 0, 'description' => 'Enable tracking of activity revisions embedded within the "civicrm_activity" table. Alternatively, see "Administer => System Settings => Misc => Logging".', 'help_text' => '', - ), -); + ], +];