Bundle Import/Export adds a complete import/export of a content-type bundle (including fields) to the Configuration Manager.
It packages a content type and its associated field configurations into one portable JSON string you can copy and paste from one site to another, for example, from your dev site to production.
Currently handles:
- Content type basic info
- Field instances (creating field if they do not yet exist)
- Field groups
- Field collections
Note: The module currently supports only node content types. It is designed to allow additional bundle providers in the future. Additional maintainers and/or PRs welcome!
Also: Think of this as a spiritual successor to the bundle_copy module from D7, which had similar functionality.
Enable Bundle Import/Export, then go to Configuration Manager > Single Import/Export > Export.
Select Content types - Entire bundle from the Configuration group list. The Configuration name list then contains the site's content types. Choose the content type to export and copy the JSON shown in Exported configuration.
To import a package, go to Configuration Manager > Single Import/Export > Import on a compatible target site and paste the JSON document into the textarea.
Imports never overwrite existing configuration. If a field already exists with the same field type, the module reuses it and creates the new instance on the imported content type.
The module validates the entire package before it creates anything, then uses Backdrop's normal Configuration API to import the objects in dependency order.
- Richard Peacock
- Seeking additional maintainers.
- Created for Backdrop CMS by Richard Peacock
- Developed with AI assistance
This project is GPL v2 software.