You are here

function deploy_plan_load in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 deploy.module \deploy_plan_load()

Loader callback for a deployment plan.

17 calls to deploy_plan_load()
DeployAdhocPlanTestCase::testDeployment in modules/deploy_adhoc_plan/deploy_adhoc_plan.test
DeployWebTestCase::deployPlan in ./deploy.test
Deploy the plan.
DeployWebTestCase::editPlan in ./deploy.test
Edit a plan.
deploy_adhoc_plan_create in modules/deploy_adhoc_plan/deploy_adhoc_plan.module
Helper function to create ad hoc plan if default is defined.
deploy_adhoc_plan_init in modules/deploy_adhoc_plan/deploy_adhoc_plan.module
Implements hook_init().

... See full list

2 string references to 'deploy_plan_load'
deploy_schema in ./deploy.install
Implements hook_schema().
deploy_ui_plan::edit_form in modules/deploy_ui/plugins/export_ui/deploy_ui_plan.class.php
Form callback for basic config.

File

./deploy.module, line 150
Deploy module functions.

Code

function deploy_plan_load($name) {
  $plans = deploy_plan_load_all();
  if (isset($plans[$name])) {
    drupal_alter("deploy_plan_load", $plans[$name]);
    return $plans[$name];
  }
  return FALSE;
}