X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=settings%2FMember.setting.php;h=31d636ee8a57020c2518f9b032d59a62d2e1f9c9;hb=144dacf19067161923f93ddd7178bb938b04c969;hp=37eb7bfc74b4c7fa434083dbbe78335b5487b1e2;hpb=d7e0c6a6d10fbd3548bfebb9926a3bf79c91296b;p=civicrm-core.git diff --git a/settings/Member.setting.php b/settings/Member.setting.php index 37eb7bfc74..31d636ee8a 100644 --- a/settings/Member.setting.php +++ b/settings/Member.setting.php @@ -36,23 +36,23 @@ * 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, - ), -); + ], +];