Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Single Content Sync

Security covered Under active development 17,748 sites

This module allows you to easily export any content from your Drupal site, including nodes, media, and paragraphs, into a YAML snippet or ZIP archive. You can then import this content to a different environment or website, even with a different structure, for tasks like migration, recovery, or default content setup. The module handles various field types, entity references, media assets, and even Layout Builder components, supporting both UI and programmatic import methods.

The Single Content Sync module offers a unique and super easy way to export any content (node, taxonomy, media, users, blocks, paragraphs, and etc.) and further import them to a different environment or to a different website, even if it has a totally different structure.

The module generates a YAML code snippet for the content item that can just be copied from one site and pasted into another one. No manual steps or other user interaction is needed afterward. Besides, the module can generate a ZIP archive that contains assets and one or multiple exported entities.

The module is very helpful for content migration and syncing, default content, managing content export/import in backend, lost content recovery, and content debugging.

The module is able to export/import:

  • All entity types
    • you can extend or alter existing logic per entity type
  • All field types
    • you can extend or alter existing logic per field type
  • All entity references
    • entity_reference and dynamic_entity_reference are supported out of the
      box
    • it uses recursive approach, so it can even find the deepest reference of
      the deepest reference
  • Menu structure of exported nodes
  • Book
  • Media assets
    • svg_image_field, file, and image are supported out of the box
  • Content translations
  • Internal links between content
  • Assets and internal links in Rich text
  • Layout builder sections and components with all the settings and relations

You can also import content on deployment, so no user interaction is needed.

The import functionality allows you to create content if it didn't exist or update an existing one if the uuid was matched.

You can either use UI or custom services or a custom drush command to export/import content

Documentation

Check out this guide to see the module’s overview and the guidelines for using it.

https://www.drupal.org/docs/contributed-modules/single-content-sync

Still have questions?

There is a slack channel under Drupal workspace. Here is a link to jump into

https://drupal.slack.com/archives/C045328ESKY

Drupal 9–11 PHP >=7.4

Ask your assistant about Single Content Sync

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • file Drupal core

Required by

1 tracked project depends on this one

Activity

Tracked releases
41
Tracked since
Jan 2023
Latest release
1 week ago
Releases (12 mo)
5 ▼ from 7
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
1.4.8 Stable 9–11 Dec 19, 2024
1.4.7 Stable 9–11 Dec 4, 2024
1.4.6 Stable 9–10 PHP >=7.4 Sep 18, 2024
1.4.5 Stable 9–10 PHP >=7.4 May 2, 2024
1.4.4 Stable 9–10 PHP >=7.4 Nov 8, 2023
1.4.3 Stable 9–10 PHP >=7.4 Oct 20, 2023
1.3.22 Stable 9–10 PHP >=7.4 Oct 20, 2023
1.4.2 Stable 9–10 PHP >=7.4 Oct 19, 2023
1.3.21 Stable 9–10 PHP >=7.4 Sep 14, 2023
1.4.1 Stable 9–10 PHP >=7.4 Sep 14, 2023