Skip to content
Snippets Groups Projects

Issue #2707689: NodeForm::actions() checks for delete access on new entities

3 files
+ 17
1
Compare changes
  • Side-by-side
  • Inline
Files
3
  • 1066bfe2
    Issue #2513524 by andregp, JeroenT, Bill Choy, TR, tstoeckler, dawehner, Wim... · 1066bfe2
    Alex Pott authored
    Issue #2513524 by andregp, JeroenT, Bill Choy, TR, tstoeckler, dawehner, Wim Leers, xjm: ExtensionDiscovery is unable to find modules that have a comment at the end of the type property in a .info.yml file
@@ -444,7 +444,7 @@ protected function scanDirectory($dir, $include_tests) {
$type = FALSE;
$file = $fileinfo->openFile('r');
while (!$type && !$file->eof()) {
preg_match('@^type:\s*(\'|")?(\w+)\1?\s*$@', $file->fgets(), $matches);
preg_match('@^type:\s*(\'|")?(\w+)\1?\s*(?:\#.*)?$@', $file->fgets(), $matches);
if (isset($matches[2])) {
$type = $matches[2];
}
Loading