Skip to content

Commit fb775c3

Browse files
committed
Skip no_transitions_css module from causing errors
See https://www.drupal.org/project/drupal/issues/3020142
1 parent 411bdf6 commit fb775c3

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Drupal/ExtensionDiscovery.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,13 @@ protected function scanDirectory($dir): array
358358
continue;
359359
}
360360

361+
// This test module has a function declaration that conflicts with another module. Explicitly skip it.
362+
// @see https://www.drupal.org/project/drupal/issues/3020142
363+
// @todo remove when Drupal core fixed.
364+
if ($fileinfo->getBasename('.info.yml') === 'no_transitions_css') {
365+
continue;
366+
}
367+
361368
// Determine extension type from info file.
362369
$type = false;
363370
$file = $fileinfo->openFile('r');

0 commit comments

Comments
 (0)