You are here

public static function HostingDeployForm::getStrategyLabels in Aegir Deploy 7.3

3 calls to HostingDeployForm::getStrategyLabels()
HostingDeployForm::alter in includes/HostingDeployForm.inc
HostingDeployNode::nodeView in includes/HostingDeployNode.inc
Alter the display of a node.
hosting_deploy_get_strategies_options_list in ./hosting_deploy.module
Callback to populate the list of valid options for deployment strategies.

File

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

Class

HostingDeployForm
@file The HostingDeployForm class.

Code

public static function getStrategyLabels() {
  foreach (self::getStrategies() as $name => $strategy) {
    $strategies[$name] = $strategy['label'];
  }
  return $strategies;
}