Skip to content
Snippets Groups Projects
Commit 290539b9 authored by GitLab CI's avatar GitLab CI
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !2
parents cb1a87d6 12c9ef8f
No related branches found
No related tags found
1 merge request!2Merging develop into main
Pipeline #1255468 passed
......@@ -53,7 +53,16 @@ class Plugin implements PluginInterface {
foreach ($extras as $item) {
$key = 'lakedrops-extra-' . $item . '-file';
if (isset($extra[$key])) {
$extra[$item] = $this->readJson($item, $extra[$key], $io);
if (!isset($extra[$item])) {
$extra[$item] = [];
}
if ($item === 'installer-paths') {
$installer = new DrupalInstaller($composer->getPackage(), $composer, $io);
foreach ($installer->getLocations('drupal') as $type => $path) {
$extra[$item][$path] = ['type:drupal-' . $type];
}
}
$extra[$item] += $this->readJson($item, $extra[$key], $io);
$changed = TRUE;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment