protected function DeployWebTestCase::editPlan in Deploy - Content Staging 7.2
Same name and namespace in other branches
- 7.3 deploy.test \DeployWebTestCase::editPlan()
Edit a plan.
2 calls to DeployWebTestCase::editPlan()
- DeployAutoPlanNoDependencyPluginTestCase::testDeployment in modules/
deploy_auto_plan/ deploy_auto_plan.test - DeployQueuedDeploymentTestCase::testDeployment in ./
deploy.test
File
- ./
deploy.test, line 185 - Deployment tests.
Class
- DeployWebTestCase
- Helper class.
Code
protected function editPlan($plan_name, $params = array()) {
$plan = deploy_plan_load($plan_name);
foreach ($params as $key => $value) {
$plan->{$key} = $value;
}
ctools_export_crud_save('deploy_plans', $plan);
}