You are here

function services_client_menu in Services Client 7

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

Implementation of hook_menu().

File

./services_client.module, line 20
Services client module allows to push different types of objects on different types of events such as node_save, user_save to remote masters.

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,
  );
  return $items;
}