Merge pull request #19422 from mattwire/deprecatedcaseactivity
[civicrm-core.git] / settings / Event.setting.php
CommitLineData
6a488035
TO
1<?php
2/*
3 +--------------------------------------------------------------------+
6b7eb9df 4 | Copyright CiviCRM LLC. All rights reserved. |
6a488035 5 | |
6b7eb9df
TO
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 |
6a488035 9 +--------------------------------------------------------------------+
d25dd0ee 10 */
6a488035
TO
11
12/**
13 *
14 * @package CRM
ca5cec67 15 * @copyright CiviCRM LLC https://civicrm.org/licensing
6a488035 16 */
f5e8cb7b 17
18/**
6a488035
TO
19 * Settings metadata file
20 */
dfe1f88a 21return [
dfe1f88a 22 'show_events' => [
aaffa79f 23 'name' => 'show_events',
24 'group_name' => 'Event Preferences',
25 'group' => 'event',
f167c7a9 26 'settings_pages' => ['event' => ['weight' => 20]],
aaffa79f 27 'type' => 'Integer',
f5e8cb7b 28 'quick_form_type' => 'Select',
aaffa79f 29 'default' => 10,
30 'add' => '4.5',
f5e8cb7b 31 'title' => ts('Dashboard entries'),
aaffa79f 32 'html_type' => 'select',
33 'is_domain' => 1,
34 'is_contact' => 0,
f5e8cb7b 35 'description' => ts('Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.'),
aaffa79f 36 'help_text' => NULL,
f5e8cb7b 37 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::getDashboardEntriesCount'],
dfe1f88a
CW
38 ],
39];