You are here

protected function HostingDeployForm::determineExistingStrategy in Aegir Deploy 7.3

1 call to HostingDeployForm::determineExistingStrategy()
HostingDeployForm::setStrategy in includes/HostingDeployForm.inc

File

includes/HostingDeployForm.inc, line 50
The HostingDeployForm class.

Class

HostingDeployForm
@file The HostingDeployForm class.

Code

protected function determineExistingStrategy() {
  if (!empty($this->platform
    ->getFieldValue('field_deployment_strategy'))) {
    return $this->platform
      ->getFieldValue('field_deployment_strategy');
  }
  else {
    return $this
      ->guessStrategy();
  }
}