3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
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 +--------------------------------------------------------------------+
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
19 * Settings metadata file
23 'name' => 'show_events',
24 'group_name' => 'Event Preferences',
26 'settings_pages' => ['event' => ['weight' => 20]],
28 'quick_form_type' => 'Select',
31 'title' => ts('Dashboard entries'),
32 'html_type' => 'select',
35 'description' => ts('Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.'),
37 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::getDashboardEntriesCount'],