You are here

function uc_stock_action_info in Ubercart 5

Implementation of hook_action_info().

File

uc_stock/uc_stock_workflow.inc, line 37
This file contains all the Workflow-NG hooks that are neccesary for Workflow integeration with the uc_stock module

Code

function uc_stock_action_info() {
  return array(
    'uc_stock_action_decrement_stock' => array(
      '#label' => t('Decrement stock of products on the order with tracking activated.'),
      '#arguments' => array(
        'order' => array(
          '#entity' => 'order',
          '#label' => t('Order'),
        ),
      ),
      '#module' => t('Stock'),
    ),
  );
}