function deploy_plan in Deploy - Content Staging 6
Deploy the specified plan to a remote server
Parameters
$pid: Unique ID of the plan to deploy.
3 string references to 'deploy_plan'
- deploy_create_plan in ./
deploy.module - Create a new deployment plan.
- deploy_update_6002 in ./
deploy.install - Implementation of hook_update().
- system_settings_deploy_form_submit in modules/
system_settings_deploy/ system_settings_deploy.module - Submit handler for systems settings forms that have deployment enabled.
File
- ./
deploy.module, line 762 - Deployment API which enables modules to deploy items between servers.
Code
function deploy_plan($pid) {
$items = deploy_get_plan_items($pid);
foreach ($items as $item) {
deploy_item($item);
}
}