I am interested in the idea of making it possible to add a feature to Backdrop CMS in much the same way that one might use the Features modules in Drupal to create a content type and/or a view (related core issue: https://github.com/backdrop/backdrop-issues/issues/3763)
Imagine a FAQ feature that includes:
- A FAQ content type
- The fields associated with that content type
- A view to display the FAQ nodes
I've created some "config file" recipes for a couple of "features" like this, but I don't have an easy way to import these files in a batch. See this blog post.
I would love to add these config files through the config management interface, but I could also package them as modules and import them through the modules interface. Right now, I'm looking for ideas on how to update or add config files through a custom module.
Any thoughts?
I see. It was working for me in my test FAQ feature, because I only used Title and body field, which I suppose were already there. This did not work with content types that included new fields.
It does work for views and other config that does not require new tables.