diff --git a/softcreditcustomfields.php b/softcreditcustomfields.php index ee0b0e3..3e7742e 100644 --- a/softcreditcustomfields.php +++ b/softcreditcustomfields.php @@ -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, + ], + ]; } /**