You are here

function restws_get_resource_info in RESTful Web Services 7

Same name and namespace in other branches
  1. 7.2 restws.module \restws_get_resource_info()

Returns info about all defined resources.

3 calls to restws_get_resource_info()
restws_menu_alter in ./restws.module
Implements hook_menu_alter().
restws_permission in ./restws.module
Implements hook_permission().
restws_resource_controller in ./restws.module
Returns a instance of a resource controller.

File

./restws.module, line 11
RESTful web services module.

Code

function restws_get_resource_info() {
  $info =& drupal_static(__FUNCTION__);
  if (!isset($info)) {
    $info = module_invoke_all('restws_resource_info');
    drupal_alter('restws_resource_info', $info);
  }
  return $info;
}