-
Notifications
You must be signed in to change notification settings - Fork 43
/
optiongroup.mgd.php
71 lines (71 loc) · 1.76 KB
/
optiongroup.mgd.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
/**
* Created by PhpStorm.
* User: eileen
* Date: 17/06/2014
* Time: 10:14 PM
*/
// The record will be automatically inserted, updated, or deleted from the
// database as appropriate. For more details, see "hook_civicrm_managed" at:
// http://wiki.civicrm.org/confluence/display/CRMDOC/Hook+Reference
return [
0 =>
[
'name' => 'payment_type',
'entity' => 'option_group',
'params' =>
[
'version' => 3,
'title' => 'Payment Type',
'name' => 'payment_type',
'description' => 'Payment Processor Payment type (configured on processor)',
'is_reserved' => TRUE,
'is_active' => TRUE,
],
],
1 =>
[
'name' => 'credit_card',
'entity' => 'option_value',
'params' =>
[
'version' => 3,
'option_group_id' => 'payment_type',
'label' => 'Credit Card',
'value' => 1,
'name' => 'credit_card',
'is_reserved' => TRUE,
'is_active' => TRUE,
],
],
2 =>
[
'name' => 'direct_debit',
'entity' => 'option_value',
'params' =>
[
'version' => 3,
'option_group_id' => 'payment_type',
'label' => 'Direct Debit',
'value' => 2,
'name' => 'direct_debit',
'is_reserved' => TRUE,
'is_active' => TRUE,
],
],
3 =>
[
'name' => 'credit_card_off_site_post',
'entity' => 'option_value',
'params' =>
[
'version' => 3,
'option_group_id' => 'payment_type',
'label' => 'Credit Card',
'value' => 3,
'name' => 'credit_card_off_site_post',
'is_reserved' => TRUE,
'is_active' => TRUE,
],
],
];