function civicrm_entity_price_set_field_rules_action_info in CiviCRM Entity 7.2
Implements hook_rules_action_info() Add a Rules Action for subscribing a user to a node.
File
- modules/
civicrm_entity_price_set_field/ civicrm_entity_price_set_field.module, line 74
Code
function civicrm_entity_price_set_field_rules_action_info() {
return array(
'civicrm_entity_price_set_field_send_contribution_receipt' => array(
'label' => t('Send Contribution API sendconfirmation'),
'group' => t('CiviCRM Entity Price Set Field'),
'parameter' => array(
'contribution_id' => array(
'type' => 'integer',
'label' => 'Contribution ID',
),
'from' => array(
'type' => 'text',
'label' => 'From Address',
),
),
),
);
}