function hook_rest_server_response_formatters_alter in Services 7.3
Same name in this branch
- 7.3 docs/services.alter.api.php \hook_rest_server_response_formatters_alter()
- 7.3 servers/rest_server/rest_server.api.php \hook_rest_server_response_formatters_alter()
Same name and namespace in other branches
- 6.3 servers/rest_server/rest_server.api.php \hook_rest_server_response_formatters_alter()
Allows alteration of the REST server response formatter list.
Parameters
array $formatters: An associative array of formatter info arrays keyed by type extension.
See also
rest_server_response_formatters()
1 invocation of hook_rest_server_response_formatters_alter()
- rest_server_response_formatters in servers/
rest_server/ rest_server.module - Builds a list of response formatters that are available to the RESTServer.
File
- docs/
services.alter.api.php, line 126 - Documentation about Services alter hooks and variables.
Code
function hook_rest_server_response_formatters_alter(&$formatters) {
}