CRM-21323 : Fix backend credit card payment processor selection
[civicrm-core.git] / settings / Event.setting.php
index 8ba2580c81ff8cdcc606c45683f4276fa32de5a7..44c116527e7d46fee7d26d523f40b167e7a7d0bc 100644 (file)
@@ -1,9 +1,9 @@
 <?php
 /*
  +--------------------------------------------------------------------+
- | CiviCRM version 4.6                                                |
+ | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2014                                |
+ | Copyright CiviCRM LLC (c) 2004-2017                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
  | GNU Affero General Public License or the licensing of CiviCRM,     |
  | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
  +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2014
+ * @copyright CiviCRM LLC (c) 2004-2017
  * $Id$
  *
  */
  * Settings metadata file
  */
 return array(
-  'event_enable_cart' =>
-  array(
+  'enable_cart' => array(
     'name' => 'enable_cart',
     'group_name' => 'Event Preferences',
     'group' => 'event',
-    'type' => 'String',
+    'type' => 'Boolean',
     'quick_form_type' => 'Element',
-    'default' => 0,
-    'add' => 4.1,
+    'default' => '0',
+    'add' => '4.1',
     'title' => 'Enable Event Cart',
     'is_domain' => 1,
-    'is_contact' => 1,
+    'is_contact' => 0,
     'description' => "WRITE ME",
     'help_text' => 'WRITE ME',
   ),
+  'show_events' => array(
+    'name' => 'show_events',
+    'group_name' => 'Event Preferences',
+    'group' => 'event',
+    'type' => 'Integer',
+    'quick_form_type' => 'Element',
+    'default' => 10,
+    'add' => '4.5',
+    'title' => 'Dashboard entries',
+    'html_type' => 'select',
+    'is_domain' => 1,
+    'is_contact' => 0,
+    'description' => "Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.",
+    'help_text' => NULL,
+  ),
 );