X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FCase.setting.php;h=f85cd0af3b6f64ea5253426a0fbc70162a4bdaae;hb=64d7b73740e17c45a9f881b67390be225fe7a072;hp=7702a7947d75ae3d55ed1bd60b043fce30798a6b;hpb=49cfbaed65e6920698d83b57985df1eb228479a2;p=civicrm-core.git diff --git a/settings/Case.setting.php b/settings/Case.setting.php index 7702a7947d..f85cd0af3b 100644 --- a/settings/Case.setting.php +++ b/settings/Case.setting.php @@ -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' => '', - ), -); + ], +];