From b06559085db939fc01c8c1da1f3c1bad339c0c1a Mon Sep 17 00:00:00 2001 From: Will Milton Date: Thu, 18 Sep 2014 08:33:08 -0500 Subject: [PATCH] apply contrib prefix to only modules and themes --- src/Mapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {