Add this function to integrate Workflow-ng, which is needed for compatibility with Alpha 8.
<?php
/******************************************************************************
* Workflow-ng Hooks *
******************************************************************************/
/**
* Implementation of hook_configuration().
*
* Connect the quote action with the quote event.
*/
function uc_storepickup_configuration(){
$enabled = variable_get('uc_quote_enabled', array('storepickup' => true));
$configurations = array(
'uc_storepickup_get_quote' => array(
'#label' => t('Shipping quote for store pickup'),
'#event' => 'get_quote_from_storepickup',
'#module' => 'uc_storepickup',
'#active' => $enabled['storepickup'],
),
);
$action = workflow_ng_use_action('uc_quote_action_get_quote', array(
'#label' => t('Fetch a shipping quote'),
));
$configurations['uc_storepickup_get_quote'] = workflow_ng_configure($configurations['uc_storepickup_get_quote'], $action);
return $configurations;
}
?>
