You are here

function restws_test_restws_resource_info_alter in RESTful Web Services 7.2

Implements hook_restws_resource_info_alter().

See also

RestWSTestCase::testMenuPath().

File

tests/restws_test.module, line 13
RESTful web services test module.

Code

function restws_test_restws_resource_info_alter(&$resource_info) {
  $menu_path = variable_get('restws_test_menu_path', 'foo');
  $resource_info['node']['menu_path'] = $menu_path;
}