You are here

function clients_menu in Web Service Clients 7.3

Same name and namespace in other branches
  1. 6.2 clients.module \clients_menu()
  2. 6 clients.module \clients_menu()
  3. 7 clients.module \clients_menu()
  4. 7.2 clients.module \clients_menu()

Implements hook_menu()

File

./clients.module, line 411
Clients module provides a UI, storage, and an API for handling connections to remote webservices, including those provided by Services module on other Drupal sites.

Code

function clients_menu() {
  $items = array();

  // Note most of the admin UI is done via EntityAPI UI controllers.
  // @see ClientsHandlerEntityUIController.
  $items['admin/structure/clients/settings'] = array(
    'title' => 'Settings',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'clients_admin_cache',
    ),
    'access arguments' => array(
      'administer clients connections',
    ),
    'weight' => 10,
    'type' => MENU_LOCAL_TASK,
  );
  $items['admin/structure/clients/settings/cache'] = array(
    'title' => 'Cache',
    'weight' => -1,
    'description' => 'cccc connections',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'clients_admin_cache',
    ),
    'access arguments' => array(
      'administer clients connections',
    ),
    'type' => MENU_DEFAULT_LOCAL_TASK,
  );
  return $items;
}