Skip to content
Snippets Groups Projects
Commit ed40aec7 authored by jurgenhaas's avatar jurgenhaas
Browse files

drupal-environment#17 Add support for extra.lakedrops-allow-plugins

parent 99486920
No related branches found
No related tags found
1 merge request!5Merging develop into main
Pipeline #1256789 passed
......@@ -47,7 +47,7 @@ class Plugin implements PluginInterface {
foreach ($this->readJson('config', $extra['lakedrops-config-file'], $io) as $key => $value) {
if ($key === 'allow-plugins') {
foreach ($extra['lakedrops-allow-plugins'] ?? [] as $pluginKey => $pluginValue) {
$value['allow-plugins'][$pluginKey] = $pluginValue;
$value[$pluginKey] = $pluginValue;
}
}
$composer->getConfig()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment