Posted by Xano on February 26, 2013 at 8:08pm
4 followers
| Project: | Drupal core |
| Version: | 8.x-dev |
| Component: | configuration system |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Xano |
| Status: | needs review |
Issue Summary
Currency 7.x-2.x uses external libraries with Yaml files that are used as configuration files. The idea was that in Drupal 8, these files could be used as default configuration. However, they are not located in ./path/to/module/config/, but instead in ./path/to/module/vendor/.... By adding a property to .info files, we can tell the system to look for config in a different directory.
Comments
#1
Untested, without updated tests, but it shows what I mean.
#2
The last submitted patch, drupal_1928324_00.patch, failed testing.
#3
I told you it was untested.
#4
An alternative would be to split up config_install_default_config() in a function that takes a directory and imports all config it finds in there. That may actually be better, because it imposes /config as a config directory on developers, because they will actually have to put in an effort to deviate from that.