function hosting_deploy_platform_deploy_strategies_alter in Aegir Deploy 7.3
Implements hook_platform_deploy_strategies_alter().
File
- ./
hosting_deploy.module, line 52 - Drupal hooks for the hosting_deploy module.
Code
function hosting_deploy_platform_deploy_strategies_alter(&$strategies) {
$strategies['frommakefile'] = [
'label' => t('Deploy from Drush makefile'),
'required_fields' => [
'makefile',
],
];
if (module_exists('hosting_git')) {
$strategies['git'] = [
'label' => t('Manage with Git'),
'required_fields' => [
'git_repo',
],
];
}
}