You are here

function hook_restws_resource_info_alter in RESTful Web Services 7

Same name and namespace in other branches
  1. 7.2 restws.api.php \hook_restws_resource_info_alter()

Alter available resource information.

Parameters

array $resource_info: Resource information as defined in hook_restws_resource_info().

See also

hook_restws_resource_info()

Related topics

1 invocation of hook_restws_resource_info_alter()
restws_get_resource_info in ./restws.module
Returns info about all defined resources.

File

./restws.api.php, line 61
This file contains no working PHP code; it exists to provide additional documentation for doxygen as well as to document hooks in the standard Drupal manner.

Code

function hook_restws_resource_info_alter(&$resource_info) {
  $resource_info['node']['class'] = 'MySpecialNodeResourceController';
}