diff --git a/Provision/Config.php b/Provision/Config.php index 1bc3fe7bba15cccb9f540a3d922f80ee438dc9ce..ea77e25df7b5af7887645a22f2403a9c94375b23 100644 --- a/Provision/Config.php +++ b/Provision/Config.php @@ -167,7 +167,7 @@ class Provision_Config { * array. */ private function render_template($template, $variables) { - + // Allow modules to alter the variables before writing to the template. // @see hook_provision_config_variables_alter() drush_command_invoke_all_ref('provision_config_variables_alter', $variables, $template, $this); diff --git a/provision.api.php b/provision.api.php index fc552e869a14b2910cf999f515e9409c2789f885..89f8eba1032e0c8dd5e83c3bef117569bf0293d5 100644 --- a/provision.api.php +++ b/provision.api.php @@ -231,10 +231,10 @@ function hook_provision_config_load_templates_alter(&$templates, $config) { * @see hook_provision_config_load_templates_alter() */ function hook_provision_config_variables_alter(&$variables, $template, $config) { - + // If this is the vhost template and the http service is Docker... if (is_a($config, 'Provision_Config_Apache_Site') && is_a(d()->platform->service('http'), 'Provision_Service_http_apache_docker')) { - + // Force the listen port to be 80. $variables['http_port'] = '80'; }