X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FEvent.setting.php;h=50477d91369d3b9dfc15996af57c8826e353cf52;hb=6b7eb9dfd027ca097afd7450d0fc70948c75205e;hp=29413fdfb19335a8b30880b0e1479ec337729e01;hpb=f167c7a9f5b5d146eca4cefd8aab89dc4f995a9a;p=civicrm-core.git diff --git a/settings/Event.setting.php b/settings/Event.setting.php index 29413fdfb1..50477d9136 100644 --- a/settings/Event.setting.php +++ b/settings/Event.setting.php @@ -1,41 +1,25 @@ array( +return [ + 'enable_cart' => [ 'name' => 'enable_cart', 'group_name' => 'Event Preferences', 'settings_pages' => ['event' => ['weight' => 10]], @@ -50,8 +34,8 @@ return array( 'description' => ts('This feature allows users to register for more than one event at a time. When enabled, users will add event(s) to a "cart" and then pay for them all at once. Enabling this setting will affect online registration for all active events. The code is an alpha state, and you will potentially need to have developer resources to debug and fix sections of the codebase while testing and deploying it'), 'help_text' => '', 'documentation_link' => ['page' => 'CiviEvent Cart Checkout', 'resource' => 'wiki'], - ), - 'show_events' => array( + ], + 'show_events' => [ 'name' => 'show_events', 'group_name' => 'Event Preferences', 'group' => 'event', @@ -67,5 +51,5 @@ return array( 'description' => ts('Configure how many events should be shown on the dashboard. This overrides the default value of 10 entries.'), 'help_text' => NULL, 'pseudoconstant' => ['callback' => 'CRM_Core_SelectValues::getDashboardEntriesCount'], - ), -); + ], +];