File tree 4 files changed +13
-2
lines changed
4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ res/flood_sem
2
2
res /master
3
3
res /omega
4
4
res /registry_rebuild
5
+ res /config_devel
5
6
vendor
Original file line number Diff line number Diff line change @@ -3,3 +3,4 @@ git clone http://git.drupal.org/project/flood_sem res/flood_sem
3
3
git clone http://git.drupal.org/project/omega res/omega
4
4
git clone http://git.drupal.org/project/master res/master
5
5
git clone http://git.drupal.org/project/registry_rebuild res/registry_rebuild
6
+ git clone http://git.drupal.org/project/config_devel res/config_devel
Original file line number Diff line number Diff line change @@ -108,7 +108,11 @@ function($path) {
108
108
: current (array_keys ($ composerMap ));
109
109
if ('drupal ' === $ this ->name ) {
110
110
$ composerMap [$ top ]['type ' ] = 'drupal-core ' ;
111
- } elseif ($ releaseInfo = $ this ->getReleaseInfo ($ this ->core )) {
111
+ }
112
+ if (empty ($ composerMap [$ top ]['type ' ]) && $ this ->core == 8 ) {
113
+ $ composerMap [$ top ]['type ' ] = 'drupal- ' . $ info ->drupalInfo ()['type ' ];
114
+ }
115
+ if (empty ($ composerMap [$ top ]['type ' ]) && $ releaseInfo = $ this ->getReleaseInfo ($ this ->core )) {
112
116
$ composerMap [$ top ]['type ' ] = $ releaseInfo ->getProjectType ();
113
117
if ($ composerMap [$ top ]['type ' ] === 'drupal-module '
114
118
&& !$ this ->hasModule && !$ this ->isTheme && $ this ->hasDrush
Original file line number Diff line number Diff line change @@ -49,7 +49,12 @@ public function testLoadVersions()
49
49
'dev-7.x-1.x ' => array (
50
50
'type ' => 'drupal-module '
51
51
)
52
- )
52
+ ),
53
+ 'config_devel ' => array (
54
+ 'dev-8.x-1.x ' => array (
55
+ 'type ' => 'drupal-module '
56
+ ),
57
+ ),
53
58
);
54
59
55
60
$ config = new Config ();
You can’t perform that action at this time.
0 commit comments