You are here

function uc_views_bulk_operations_order_operations in Ubercart Views 6.3

Same name and namespace in other branches
  1. 6.2 uc_views_bulk_operations/uc_views_bulk_operations.module \uc_views_bulk_operations_order_operations()

Implementation of hook_node_operations(). (rather, hook_order_operations, which is based off the other)

File

uc_views_bulk_operations/uc_views_bulk_operations.module, line 43

Code

function uc_views_bulk_operations_order_operations() {
  return array(
    'process_orders' => array(
      'label' => t('Move to next state'),
      'callback' => 'uc_views_bulk_operations_orders_process_orders',
      'disabled' => TRUE,
    ),
    'print_orders' => array(
      'label' => t('Print invoice'),
      'callback' => 'uc_views_bulk_operations_orders_print_orders',
      'disabled' => TRUE,
    ),
    'delete_orders' => array(
      'label' => t('Delete order'),
      'callback' => 'uc_views_bulk_operations_orders_delete_orders',
      'disabled' => TRUE,
    ),
  );
}