Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I'm talking about some hooks like
- hook_config_info(), that could provide information about configuration files or bundles and be available at boot and also provide which class would handle each config.
- hook_variable_info(), that could provide information about specific variables on each file (name, type, etc) so we can also generate config forms on the fly.
The idea is implemented in variable module, it could be a good starting point, see http://drupal.org/project/variable
Comments
Comment #1
gddtagging
Comment #2
sun(In turn, that might revert some parts of #1324618: Implement automated config saving for simple settings forms, in case we'll go with a short-term stop-gap solution in there.)
Comment #3
Jose Reyero CreditAttribution: Jose Reyero commentedSorry, I forgot about this issue.
Working on a different metadata system for configuration here #1648930: Introduce configuration schema and use for translation
Comment #4
Jose Reyero CreditAttribution: Jose Reyero commented