You are here

function print_mail_rules_action_info in Printer, email and PDF versions 6

Same name and namespace in other branches
  1. 7.2 print_mail/print_mail.module \print_mail_rules_action_info()
  2. 7 print_mail/print_mail.module \print_mail_rules_action_info()

Implements hook_rules_action_info().

File

print_mail/print_mail.module, line 572
Displays Printer-friendly versions of Drupal pages.

Code

function print_mail_rules_action_info() {
  return array(
    'print_mail_action_submit' => array(
      'label' => t('Send node as HTML formatted email'),
      'module' => 'Node',
      'eval input' => array(
        'to',
        'from',
        'subject',
        'message',
      ),
      'arguments' => array(
        'node' => array(
          'type' => 'node',
          'label' => t('Content'),
        ),
      ),
    ),
  );
}