You are here

function uc_quote_ca_action in Ubercart 6.2

Implements hook_ca_action().

File

shipping/uc_quote/uc_quote.module, line 389
The controller module for fulfillment modules that process physical goods.

Code

function uc_quote_ca_action() {
  return array(
    'uc_quote_action_get_quote' => array(
      '#title' => t('Fetch a shipping quote'),
      '#category' => t('Quote'),
      '#arguments' => array(
        'order' => array(
          '#entity' => 'uc_order',
          '#title' => t('Order'),
        ),
        'method' => array(
          '#entity' => 'quote_method',
          '#title' => t('Quote method'),
        ),
      ),
    ),
  );
}