function drush_deploy_plan in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.drush.inc \drush_deploy_plan()
Command callback for deploying plans.
File
- ./
deploy.drush.inc, line 99 - Provides Drush integration for Deploy.
Code
function drush_deploy_plan($name) {
if ($plan = deploy_plan_load($name)) {
$plan
->deploy();
return;
}
drush_set_error(dt('Cannot deploy non-existent plan @name'), array(
'@name' => $name,
));
}