You are here

function commerce_invoice_mail_rules_action_info in Commerce Invoice 7.2

Implements hook_rules_action_info().

File

modules/mail/commerce_invoice_mail.rules.inc, line 13
Rules integration for the Commerce Invoice Mail module.

Code

function commerce_invoice_mail_rules_action_info() {
  $actions = array();
  $actions['commerce_invoice_mail_send'] = array(
    'base' => 'commerce_invoice_mail_action_send',
    'label' => t('Send an invoice by mail'),
    'parameter' => array(
      'commerce_invoice' => array(
        'type' => 'commerce_invoice',
        'label' => t('The invoice'),
      ),
    ),
    'group' => t('Commerce Invoice'),
  );
  return $actions;
}