function restws_menu in RESTful Web Services 7
Same name and namespace in other branches
- 7.2 restws.module \restws_menu()
Implements hook_menu().
File
- ./
restws.module, line 403 - RESTful web services module.
Code
function restws_menu() {
$items['restws/session/token'] = array(
'page callback' => 'restws_session_token',
// Only authenticated users are allowed to retrieve a session token.
'access callback' => 'user_is_logged_in',
'type' => MENU_CALLBACK,
);
return $items;
}