You are here

function services_process_resources in Services 7

Same name and namespace in other branches
  1. 6.2 services.module \services_process_resources()
1 call to services_process_resources()
services_get_all_resources in ./services.module
Gets all resource definitions.

File

./services.module, line 453
@author Services Dev Team

Code

function services_process_resources(&$resources, &$controllers, $path = array()) {
  foreach ($resources as $name => &$resource) {
    if (drupal_substr($name, 0, 1) != '#') {
      _services_process_resource(array_merge($path, array(
        $name,
      )), $resource, $controllers);
    }
  }
}