function uc_product_actions_action_info in Ubercart Product Actions 6
Same name and namespace in other branches
- 7 uc_product_actions.module \uc_product_actions_action_info()
Implements hook_action_info().
This function defines all custom actions added by this module.
File
- ./
uc_product_actions.module, line 33
Code
function uc_product_actions_action_info() {
return array(
'uc_product_actions_update_weight_action' => array(
'type' => 'node',
'description' => t('Modify product weight'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_cost_action' => array(
'type' => 'node',
'description' => t('Modify product cost'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_list_price_action' => array(
'type' => 'node',
'description' => t('Modify product list price'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_sell_price_action' => array(
'type' => 'node',
'description' => t('Modify product sell price'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_default_qty_action' => array(
'type' => 'node',
'description' => t('Modify default quantity to add to cart'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_stock_action' => array(
'type' => 'node',
'description' => t('Modify product stock level'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_threshold_action' => array(
'type' => 'node',
'description' => t('Modify product stock threshold'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
'uc_product_actions_update_active_action' => array(
'type' => 'node',
'description' => t('Enable/disable stock tracking'),
'configurable' => TRUE,
'hooks' => array(
'nodeapi' => array(
'update',
),
),
),
);
}