function deploy_rules_action_deploy_plan in Deploy - Content Staging 7.3
Same name and namespace in other branches
- 7.2 deploy.rules.inc \deploy_rules_action_deploy_plan()
Action callback for the "Deploy a plan" action.
File
- ./
deploy.rules.inc, line 102 - Rules implementations.
Code
function deploy_rules_action_deploy_plan($plan_name) {
if ($plan = deploy_manager_plan_load($plan_name)) {
$plan
->deploy();
return;
}
watchdog('deploy', 'Cannot deploy non-managed plan %name', array(
'%name' => $plan_name,
), WATCHDOG_ERROR);
}