You are here

function services_client_menu in Services Client 7.2

Same name and namespace in other branches
  1. 7 services_client.module \services_client_menu()

Implementation of hook_menu().

File

./services_client.module, line 17

Code

function services_client_menu() {
  $items['admin/structure/services_client/list'] = array(
    'title' => 'List',
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  $items['admin/structure/services_client/settings'] = array(
    'title' => 'Settings',
    'description' => 'Configure general client settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'services_client_settings',
    ),
    'access arguments' => array(
      'administer services client',
    ),
    'file' => 'services_client.admin.inc',
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/structure/services_client/wizard'] = array(
    'title' => 'Wizard',
    'description' => 'Import wizard to map fields from remote entity',
    'page callback' => 'services_client_wizard',
    'access arguments' => array(
      'administer services client',
    ),
    'file' => 'services_client.admin.inc',
    'type' => MENU_LOCAL_ACTION,
  );
  return $items;
}