Commit | Line | Data |
---|---|---|
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 TO |
16 | */ |
17 | /* | |
18 | * Settings metadata file | |
19 | */ | |
20 | ||
dfe1f88a CW |
21 | return [ |
22 | 'default_renewal_contribution_page' => [ | |
6a488035 TO |
23 | 'group_name' => 'Member Preferences', |
24 | 'group' => 'member', | |
25 | 'name' => 'default_renewal_contribution_page', | |
26 | 'type' => 'Integer', | |
b70c6629 | 27 | 'html_type' => 'select', |
08e57c58 | 28 | 'default' => NULL, |
dfe1f88a | 29 | 'pseudoconstant' => [ |
b70c6629 | 30 | // @todo - handle table style pseudoconstants for settings & avoid deprecated function. |
31 | 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage', | |
dfe1f88a | 32 | ], |
6a488035 | 33 | 'add' => '4.1', |
4540d6d3 | 34 | 'title' => ts('Default online membership renewal page'), |
6a488035 TO |
35 | 'is_domain' => 1, |
36 | 'is_contact' => 0, | |
b70c6629 | 37 | '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.'), |
08e57c58 | 38 | 'help_text' => NULL, |
dfe1f88a CW |
39 | ], |
40 | ]; |