Merge pull request #8914 from totten/master-soap
[civicrm-core.git] / settings / Event.setting.php
index 682849c12761d223316e19601a33f4f44a12c0c1..82467ebfd2a78f0f6d2ef019e3bc982c7d1b4839 100644 (file)
@@ -3,7 +3,7 @@
  +--------------------------------------------------------------------+
  | CiviCRM version 4.7                                                |
  +--------------------------------------------------------------------+
- | Copyright CiviCRM LLC (c) 2004-2015                                |
+ | Copyright CiviCRM LLC (c) 2004-2016                                |
  +--------------------------------------------------------------------+
  | This file is a part of CiviCRM.                                    |
  |                                                                    |
@@ -28,7 +28,7 @@
 /**
  *
  * @package CRM
- * @copyright CiviCRM LLC (c) 2004-2015
+ * @copyright CiviCRM LLC (c) 2004-2016
  * $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,
+  ),
 );