You are here

function services_get_resources_apply_settings in Services 7.3

Load the resources of the endpoint.

Return value

array

File

./services.module, line 518
Provides a generic but powerful API for web services.

Code

function services_get_resources_apply_settings($endpoint_name) {
  $resources = services_get_resources($endpoint_name);
  module_load_include('inc', 'services', 'includes/services.resource_build');
  $endpoint = services_endpoint_load($endpoint_name);
  _services_apply_endpoint($resources, $endpoint, TRUE);
  return $resources;
}