Merge pull request #19063 from christianwach/lab-core-2213
[civicrm-core.git] / settings / Member.setting.php
1 <?php
2 /*
3 +--------------------------------------------------------------------+
4 | Copyright CiviCRM LLC. All rights reserved. |
5 | |
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 |
9 +--------------------------------------------------------------------+
10 */
11
12 /**
13 *
14 * @package CRM
15 * @copyright CiviCRM LLC https://civicrm.org/licensing
16 */
17 /*
18 * Settings metadata file
19 */
20
21 return [
22 'default_renewal_contribution_page' => [
23 'group_name' => 'Member Preferences',
24 'group' => 'member',
25 'name' => 'default_renewal_contribution_page',
26 'type' => 'Integer',
27 'html_type' => 'select',
28 'default' => NULL,
29 'pseudoconstant' => [
30 // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
31 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
32 ],
33 'add' => '4.1',
34 'title' => ts('Default online membership renewal page'),
35 'is_domain' => 1,
36 'is_contact' => 0,
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.'),
38 'help_text' => NULL,
39 ],
40 ];