Merge pull request #19025 from sunilpawar/favourite_country
[civicrm-core.git] / settings / Event.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
6 | This work is published under the GNU AGPLv3 license with some |
7 | permitted exceptions and without any warranty. For full license |
8 | and copyright information, see https://civicrm.org/licensing |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17
18 /**
19 * Settings metadata file
20 */
21 return [
22 'show_events' => [
23 'name' => 'show_events',
24 'group_name' => 'Event Preferences',
25 'group' => 'event',
26 'settings_pages' => ['event' => ['weight' => 20]],
27 'type' => 'Integer',
28 'quick_form_type' => 'Select',
29 'default' => 10,
30 'add' => '4.5',
31 'title' => ts('Dashboard entries'),
32 'html_type' => 'select',
33 'is_domain' => 1,
34 'is_contact' => 0,
35 'description' => ts('Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.'),
36 'help_text' => NULL,
37 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::getDashboardEntriesCount'],
38 ],
39 ];