install code for 'Used for' option group
This commit is contained in:
parent
1037e46619
commit
d6746941be
@ -85,6 +85,21 @@ function softcreditcustomfields_civicrm_upgrade($op, CRM_Queue_Queue $queue = NU
|
||||
*/
|
||||
function softcreditcustomfields_civicrm_managed(&$entities) {
|
||||
_softcreditcustomfields_civix_civicrm_managed($entities);
|
||||
$entities[] = [
|
||||
'module' => 'com.megaphonetech.softcreditcustomfields',
|
||||
'name' => 'softCreditCustomfield',
|
||||
'update' => 'never',
|
||||
'entity' => 'OptionValue',
|
||||
'params' => [
|
||||
'label' => ts('Contribution Soft'),
|
||||
'name' => 'civicrm_contribution_soft',
|
||||
'value' => 'ContributionSoft',
|
||||
'option_group_id' => 'cg_extend_objects',
|
||||
'options' => ['match' => ['option_group_id', 'name']],
|
||||
'is_active' => 1,
|
||||
'version' => 3,
|
||||
],
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user