function deploy_auto_plan_get_plan in Deploy - Content Staging 7.3
Same name and namespace in other branches
- 7.2 modules/deploy_auto_plan/deploy_auto_plan.module \deploy_auto_plan_get_plan()
Helper function to get a plan name
Return value
string The plan name.
1 call to deploy_auto_plan_get_plan()
- _deploy_auto_plan_entity_save in modules/
deploy_auto_plan/ deploy_auto_plan.module - Handles an entity being saved.
File
- modules/
deploy_auto_plan/ deploy_auto_plan.module, line 171 - Deploy Auto Plan module functions.
Code
function deploy_auto_plan_get_plan() {
$user_plan_name = deploy_auto_plan_get_session();
if ($user_plan_name) {
return $user_plan_name;
}
return variable_get('deploy_auto_plan_name', NULL);
}