You are here

function deploy_services_retrieve 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_retrieve()

Services retrieve operation callback.

Parameters

string $name: The name of the plan to retrieve.

Return value

object|bool The deployment plan object or FALSE if not found.

1 string reference to 'deploy_services_retrieve'
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 159
Deploy Services module services functions.

Code

function deploy_services_retrieve($name) {
  $plan = deploy_plan_load($name);
  if (is_object($plan)) {
    unset($plan->aggregator->plan);
    unset($plan->processor->plan);
  }
  return $plan;
}