HTMLInputCoder - Add more variants for encoding arrays
[civicrm-core.git] / settings / Member.setting.php
index 37eb7bfc74b4c7fa434083dbbe78335b5487b1e2..31d636ee8a57020c2518f9b032d59a62d2e1f9c9 100644 (file)
  * Settings metadata file
  */
 
-return array(
-  'default_renewal_contribution_page' => array(
+return [
+  'default_renewal_contribution_page' => [
     'group_name' => 'Member Preferences',
     'group' => 'member',
     'name' => 'default_renewal_contribution_page',
     'type' => 'Integer',
     'html_type' => 'select',
     'default' => NULL,
-    'pseudoconstant' => array(
+    'pseudoconstant' => [
       // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
       'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
-    ),
+    ],
     'add' => '4.1',
     'title' => 'Default online membership renewal page',
     'is_domain' => 1,
     'is_contact' => 0,
     'description' => ts('If you select a default online contribution page for self-service membership renewals, a "renew" link pointing to that page will be displayed on the Contact Dashboard for memberships which were entered offline. You will need to ensure that the membership block for the selected online contribution page includes any currently available memberships.'),
     'help_text' => NULL,
-  ),
-);
+  ],
+];