You are here

function deploy_manager_plan_load in Deploy - Content Staging 7.2

Same name and namespace in other branches
  1. 7.3 deploy.manager.inc \deploy_manager_plan_load()

Loads a managed plan with the given name, returns false if no such plan exists.

6 calls to deploy_manager_plan_load()
deploy_adhoc_plan_manager_action_delete_from_plan in modules/deploy_adhoc_plan/deploy_adhoc_plan.rules.inc
Action callback for the "Remove from ad hoc deploy plan" action.
deploy_adhoc_plan_rules_action_add_to_managed_plan in modules/deploy_adhoc_plan/deploy_adhoc_plan.rules.inc
Action callback for the "Add to ad hoc deploy plan" action.
deploy_adhoc_plan_rules_action_deploy_plan in modules/deploy_adhoc_plan/deploy_adhoc_plan.rules.inc
Action callback for the "Deploy a plan" action.
deploy_manager_action_delete_from_plan in ./deploy.rules.inc
Action callback for the "Remove from deploy plan" action.
deploy_rules_action_add_to_managed_plan in ./deploy.rules.inc
Action callback for the "Add to deploy plan" action.

... See full list

File

./deploy.manager.inc, line 49
Deploy module functions for handling managed entities in plans.

Code

function deploy_manager_plan_load($name) {
  $result = deploy_plan_load_all(array(
    'aggregator_plugin' => 'DeployAggregatorManaged',
  ));
  if (isset($result[$name])) {
    return $result[$name];
  }
  return FALSE;
}