function deploy_manager_postprocess_operation in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.manager.inc \deploy_manager_postprocess_operation()
Postprocess operation callback.
2 string references to 'deploy_manager_postprocess_operation'
- deploy_deploy_operation_info in ./
deploy.deploy.inc - Implements hook_deploy_operation_info().
- hook_deploy_operation_info in ./
deploy.api.php - Allow modules to add preprocess or postprocess callbacks to a deployment.
File
- ./
deploy.manager.inc, line 153 - Deploy module functions for handling managed entities in plans.
Code
function deploy_manager_postprocess_operation($plan_name, $entity) {
$plan = deploy_plan_load($plan_name);
if (!empty($plan->aggregator_config['delete_post_deploy'])) {
deploy_manager_delete_from_plan($plan->name, $entity->__metadata['type'], $entity);
}
}