function uc_webform_menu in Ubercart Webform Integration 7.2
Same name and namespace in other branches
- 6 uc_webform.module \uc_webform_menu()
- 7.3 uc_webform.module \uc_webform_menu()
- 7 uc_webform.module \uc_webform_menu()
Implements hook_menu().
File
- ./
uc_webform.module, line 11 - Provides components to the Webform module utilizing the Ubercart package.
Code
function uc_webform_menu() {
$items = array();
$items['cart/delete-form/%'] = array(
'title' => 'Delete',
'page callback' => 'drupal_get_form',
'page arguments' => array(
'uc_webform_submission_delete_products_form',
2,
),
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['uc_webform/autocomplete'] = array(
'title' => 'Product autocomplete',
'page callback' => '_uc_webform_autocomplete_products',
'access arguments' => array(
'access content',
),
'type' => MENU_CALLBACK,
);
$items['node/%webform_menu/webform-results/orders'] = array(
'title' => 'Orders',
'page callback' => 'uc_webform_product_analysis',
'page arguments' => array(
1,
),
'access callback' => 'webform_results_access',
'access arguments' => array(
1,
),
'weight' => 5,
'type' => MENU_LOCAL_TASK,
);
return $items;
}