You are here

function pet_ca_action in Previewable email templates 6

Implementation of hook_ca_action().

File

./pet.module, line 325
Previewable E-mail Template module.

Code

function pet_ca_action() {
  $order_arg = array(
    '#entity' => 'uc_order',
    '#title' => t('Order'),
  );
  $actions['pet_email'] = array(
    '#title' => t('Send a previewable email template based email'),
    '#category' => t('Previewable email template'),
    '#callback' => 'pet_action_email',
    '#arguments' => array(
      'order' => $order_arg,
    ),
  );
  return $actions;
}