Merge pull request #15916 from civicrm/5.20
[civicrm-core.git] / settings / Member.setting.php
CommitLineData
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 * $Id$
17 *
18 */
19/*
20 * Settings metadata file
21 */
22
dfe1f88a
CW
23return [
24 'default_renewal_contribution_page' => [
6a488035
TO
25 'group_name' => 'Member Preferences',
26 'group' => 'member',
27 'name' => 'default_renewal_contribution_page',
28 'type' => 'Integer',
b70c6629 29 'html_type' => 'select',
08e57c58 30 'default' => NULL,
dfe1f88a 31 'pseudoconstant' => [
b70c6629 32 // @todo - handle table style pseudoconstants for settings & avoid deprecated function.
33 'callback' => 'CRM_Contribute_PseudoConstant::contributionPage',
dfe1f88a 34 ],
6a488035
TO
35 'add' => '4.1',
36 'title' => 'Default online membership renewal page',
37 'is_domain' => 1,
38 'is_contact' => 0,
b70c6629 39 '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 40 'help_text' => NULL,
dfe1f88a
CW
41 ],
42];