Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
Merge details:

commit 744c013
Author: Jelle Sebreghts <[email protected]>
Date:   Thu Aug 3 15:11:39 2023

    Fix parsing of site aliases for db config
  • Loading branch information
Jelle-S committed Aug 3, 2023
2 parents 9b95e74 + 744c013 commit b079e88
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,18 +27,18 @@ class DigipolisDrupal8DefaultHooksCommands extends Tasks implements ConfigAwareI
use \DigipolisGent\Robo\Task\General\Tasks;
use \DigipolisGent\Robo\Helpers\Traits\EventDispatcher;
use \Consolidation\AnnotatedCommand\Events\CustomEventAwareTrait;
use \DigipolisGent\Robo\Helpers\Traits\DigipolisHelpersCommandUtilities;

/**
* @hook on-event digipolis-db-config
*/
public function defaultDbConfig()
{
$this->readProperties();
$settings = $this->getRemoteSettings(null, null, null, null);
$webDir = $this->getConfig()->get('digipolis.root.web', false);
if (!$webDir) {
return false;
}
$settings = $this->getConfig()->get('remote');
if (!isset($settings['aliases'])) {
$settings['aliases'] = $this->handleEvent('digipolis-drupal8:parse-site-aliases', ['remoteSettings' => null]);
}
Expand Down

0 comments on commit b079e88

Please sign in to comment.