function deploy_batch_finished_operation in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.module \deploy_batch_finished_operation()
Batch API 'finished' callback.
1 string reference to 'deploy_batch_finished_operation'
- DeployProcessorBatch::postProcess in plugins/
DeployProcessorBatch.inc - Runs all postprocess operations.
File
- ./
deploy.module, line 383 - Deploy module functions.
Code
function deploy_batch_finished_operation($success, $results, $operations) {
if ($success) {
foreach ($results as $endpoint_name => $plan_name) {
$endpoint = deploy_endpoint_load($endpoint_name);
$plan = deploy_plan_load($plan_name);
drupal_set_message(t('Plan %plan has been deployed and published to %endpoint.', array(
'%plan' => $plan->title,
'%endpoint' => $endpoint->title,
)));
}
}
}