diff --git a/src/Mapper.php b/src/Mapper.php index d83d89d..dbb289b 100644 --- a/src/Mapper.php +++ b/src/Mapper.php @@ -66,7 +66,7 @@ public function mapContrib(InstallationManager $im, RepositoryManager $rm) } $name = explode('/', $package->getPrettyName())[1]; $mapRef =& $typeInstallMap[$drupalType][rtrim($installPath, '/')] ; - if ($drupalType === 'core') { + if (in_array($drupalType, ['module', 'theme'])) { $mapRef = $typePathMap[$drupalType]; } else {