Feature: #93112 - Allow glob patterns in yaml imports¶
See forge#93112
Description¶
The TYPO3 YamlFileLoader
(used, for example, when loading site configurations) does
now support importing files with glob patterns. This will simplify the configuration
and allow for more compact configuration files.
To enable globbing, set the option glob: true
on the import level.
Impact¶
You can now use glob()
syntax when importing configuration files in YAML.
Example:
imports:
- { resource: "./**/*.yaml", glob: true }
- { resource: "EXT:core/Tests/**/Configuration/**/SiteConfigs/*.yaml", glob: true }