Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 291123

Allow configuration system to recursively search directories

$
0
0

It would be cool if we had the option to provide sub directories in the /config directory for instance. Then we could structure and organise files a bit more. E.g. default views could live in /config/default_views and still be found ok.

I was thinking we could try and utilize the PHP SPL iterators and use the RecursiveDirectoryIterator, then add a Filter Iterator that filters the actual files by prefix etc...

This is kind of what I was thinking, just an initial patch. Alternatively, the other iterators could live inside the ConfigDirectoryFilterIterator too.

Please feedback. Could be crazy, I would like something like this though.

AttachmentSizeStatusTest resultOperations
d8.config-recursive-dir.patch2.8 KBIdleFAILED: [[SimpleTest]]: [MySQL] Drupal installation failed.View details | Re-test

Viewing all articles
Browse latest Browse all 291123

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>