Skip to content

About

This module allows a complete import/export of a content-type bundle (including fields and other configurations) via the Configuration Manager.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

Bundle Import/Export

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.

Usage

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.

Current Maintainers

Credits

License

This project is GPL v2 software.

About

This module allows a complete import/export of a content-type bundle (including fields and other configurations) via the Configuration Manager.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages