'http://www.w3.org/ns/hydra/core#apiDocumentation', 'href' => $api_url . '/ws-doc/', ); drupal_add_html_head_link($attributes, $header = FALSE); } /** * Implements hook_menu(). * Defines all menu items needed by Tripal Core * * @ingroup tripal_ws */ function tripal_ws_menu() { // Web Services API callbacks. $items['ws/v0.1'] = array( 'title' => 'Tripal Entities Web Services API v0.1', 'page callback' => 'tripal_ws_rest', 'access arguments' => array('access content'), 'file' => '/includes/tripal_ws.rest.inc', 'type' => MENU_CALLBACK, ); return $items; } function tripal_ws_test() { print "Blah!!!!\n"; }