Add civicrm_post hook to regenerate member buttons.
[org.fsf.memberdashboard.git] / settings / MemberDashboard.setting.php
CommitLineData
879cb756
DT
1<?php
2/**
3 * FSF Member Dashboard
4 * Copyright © 2014 Free Software Foundation, Inc.
5 *
6 * This file is a part of FSF Member Dashboard.
7 *
8 * FSF Member Dashboard is free software; you can copy, modify, and
9 * distribute it under the terms of the GNU Affero General Public
10 * License Version 3, 19 November 2007 and the CiviCRM Licensing
11 * Exception.
12 *
13 * FSF Member Dashboard is distributed in the hope that it will be
14 * useful, but WITHOUT ANY WARRANTY; without even the implied warranty
15 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Affero General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with FSF Member Dashboard. If not, see
20 * <http://www.gnu.org/licenses/>.
21 */
22
23return array(
24 'memberdashboard_info_profile_id' => array(
25 'group_name' => 'Member Dashboard Preferences',
26 'group' => 'memberdashboard',
27 'name' => 'memberdashboard_info_profile_id',
28 'type' => 'Integer',
29 'default' => 1,
30 'is_domain' => 1,
31 'is_contact' => 0,
32 'description' => 'Info Profile ID',
33 'help_text' => 'Profile ID for member-editable contact information'
fdb5b92e
DT
34 ),
35 'memberdashboard_button_api_url' => array(
36 'group_name' => 'Member Dashboard Preferences',
37 'group' => 'memberdashboard',
38 'name' => 'memberdashboard_button_api_url',
39 'type' => 'String',
40 'default' => '',
41 'is_domain' => 1,
42 'is_contact' => 0,
43 'description' => 'Member button API URL',
44 'help_text' => 'The location of the FSF member button generator API'
45 ),
46 'memberdashboard_button_api_user' => array(
47 'group_name' => 'Member Dashboard Preferences',
48 'group' => 'memberdashboard',
49 'name' => 'memberdashboard_button_api_user',
50 'type' => 'String',
51 'default' => '',
52 'is_domain' => 1,
53 'is_contact' => 0,
54 'description' => 'User name for logging into the member button API',
55 'help_text' => ''
56 ),
57 'memberdashboard_button_api_password' => array(
58 'group_name' => 'Member Dashboard Preferences',
59 'group' => 'memberdashboard',
60 'name' => 'memberdashboard_button_api_password',
61 'type' => 'String',
62 'default' => '',
63 'is_domain' => 1,
64 'is_contact' => 0,
65 'description' => 'Password for the member button API',
66 'help_text' => 'Super secret password for logging into the member button API'
879cb756 67 )
fdb5b92e 68);