You are here

function hook_services_resources_alter in Services 7.3

Allows alteration of the services_resources array.

Parameters

array $resources: The combined array of resource definitions from hook_services_resources.

array $endpoint: An array describing the endpoint that resources are being built for.

1 invocation of hook_services_resources_alter()
_services_build_resources in includes/services.resource_build.inc
Builds the resource definition array for a endpoint.

File

docs/services.alter.api.php, line 54
Documentation about Services alter hooks and variables.

Code

function hook_services_resources_alter(&$resources, &$endpoint) {
}