You are here

function restclient_menu in RESTClient 7.2

Implements hook_menu().

File

./restclient.module, line 49
Defines a standard REST interface to RESTful services

Code

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

  // Administrative links
  $items['admin/config/services/restclient'] = array(
    'description' => 'Configure a location to make REST calls',
    'title' => 'REST Client',
    'page callback' => 'drupal_get_form',
    'page arguments' => array(
      'restclient_admin_settings',
    ),
    'access arguments' => array(
      'administer restclient',
    ),
    'file' => 'restclient.admin.inc',
  );
  return $items;
}