You are here

function deploy_services_index in Deploy - Content Staging 7.3

Same name and namespace in other branches
  1. 7.2 modules/deploy_services/deploy_services.services.inc \deploy_services_index()

Services index operation callback.

Return value

array A list of available deployment plans.

1 string reference to 'deploy_services_index'
deploy_services_services_resources in modules/deploy_services/deploy_services.services.inc
Implements hook_services_resources().

File

modules/deploy_services/deploy_services.services.inc, line 118
Deploy Services module services functions.

Code

function deploy_services_index() {
  $plans = deploy_plan_load_all();
  foreach ($plans as $plan) {
    if (is_object($plan)) {
      unset($plan->aggregator->plan);
      unset($plan->processor->plan);
    }
  }
  return $plans;
}