You are here

function uc_order_action_info in Ubercart 7.3

Same name and namespace in other branches
  1. 5 uc_order/uc_order_workflow.inc \uc_order_action_info()

Implements hook_action_info().

File

uc_order/uc_order.module, line 2340

Code

function uc_order_action_info() {
  return array(
    'uc_order_action_set_status' => array(
      'label' => t('Set order status'),
      'type' => 'uc_order',
      'configurable' => TRUE,
      'triggers' => array(
        'any',
      ),
    ),
    'uc_order_action_print' => array(
      'label' => t('Print invoice'),
      'type' => 'uc_order',
      'aggregate' => TRUE,
      'configurable' => FALSE,
      'triggers' => array(
        'any',
      ),
    ),
    'uc_order_action_delete' => array(
      'label' => t('Delete order'),
      'type' => 'uc_order',
      'configurable' => FALSE,
      'behavior' => array(
        'deletes_property',
      ),
      'triggers' => array(
        'any',
      ),
    ),
  );
}