You are here

function uc_ajax_admin_menu in Ubercart 7.3

Implements hook_menu().

File

uc_ajax_admin/uc_ajax_admin.module, line 22
Configures Ajax behaviours on the Ubercart checkout page.

Code

function uc_ajax_admin_menu() {
  $items = array();
  $items['admin/store/settings/checkout/ajax'] = array(
    'title' => 'Ajax',
    'description' => 'Administer ajax updates on checkout form.',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'uc_ajax_admin_form',
      'checkout',
    ),
    'access arguments' => array(
      'administer store',
    ),
    'type' => MENU_LOCAL_TASK,
    'weight' => 3,
  );
  return $items;
}