You are here

function commerce_invoice_pdf_action_info in Commerce Invoice 7.2

Implements hook_action_info().

File

modules/pdf/commerce_invoice_pdf.module, line 346
The Commerce Invoice PDF module.

Code

function commerce_invoice_pdf_action_info() {
  $items['commerce_invoice_pdf_download_invoices'] = array(
    'type' => 'commerce_invoice',
    'label' => t('Zip and download PDF invoices'),
    'configurable' => FALSE,
    'vbo_configurable' => TRUE,
    'pass rows' => FALSE,
  );
  $items['commerce_invoice_pdf_recreate_pdfs'] = array(
    'type' => 'commerce_invoice',
    'label' => t('Recreate PDF invoices'),
    'configurable' => FALSE,
    'vbo_configurable' => FALSE,
    'pass rows' => FALSE,
  );
  return $items;
}