Module Description
If you are looking for a way of migrating your overview/basic/landing pages and deploying them to another environment without manual steps afterward - this module is for you.
This is a simple way of exporting a single node to a YML file with the possibility to import it to another environment.
You can also import content on deployment, so no user interaction is needed.
The module’s capabilities include exporting entity references (including custom entity types), translations, and the contents of custom field types.
The export functionality allows you to export content with all assets such as images, video, documents and etc.
The import functionality allows you to create content if it didn't exist or update an existing one if the uuid was matched.
Extending of the module in 1.3.x
The module provides 4 custom hooks that allow you to alter export/import or add support for the custom entity references and field types.
Changes in 1.4.x
We have been working hard to move to plugins and events instead of using custom hooks to extend the module. The hooks are now deprecated. See #3336402: Move to plugins.
Existing way extending of the module is now marked as deprecated and complitly will be removed in a next major version 2.0.x
Can I upgrade from 1.3.x to 1.4.x?
Yes, no manual actions or upgrade path needed. Just perform this command and clear cache:
composer update drupal/single_content_sync
1.4.x contains the same functionality that 1.3.x has. Everything should still work like before, if not, please report an issue.
Documentation
Check out this guide to see the module’s overview and the guidelines for using it.
1.3.x: https://www.drupal.org/docs/contributed-modules/single-content-sync
1.4.x: Coming soon
Still have questions?
We've recently created a slack channel under Drupal workspace. Here is a link to jump into
https://drupal.slack.com/archives/C045328ESKY
This is a simple way of exporting a single node to a YML file with the possibility to import it to another environment.
You can also import content on deployment, so no user interaction is needed.
The module’s capabilities include exporting entity references (including custom entity types), translations, and the contents of custom field types.
The export functionality allows you to export content with all assets such as images, video, documents and etc.
The import functionality allows you to create content if it didn't exist or update an existing one if the uuid was matched.
Extending of the module in 1.3.x
The module provides 4 custom hooks that allow you to alter export/import or add support for the custom entity references and field types.
Changes in 1.4.x
We have been working hard to move to plugins and events instead of using custom hooks to extend the module. The hooks are now deprecated. See #3336402: Move to plugins.
Existing way extending of the module is now marked as deprecated and complitly will be removed in a next major version 2.0.x
Can I upgrade from 1.3.x to 1.4.x?
Yes, no manual actions or upgrade path needed. Just perform this command and clear cache:
composer update drupal/single_content_sync
1.4.x contains the same functionality that 1.3.x has. Everything should still work like before, if not, please report an issue.
Documentation
Check out this guide to see the module’s overview and the guidelines for using it.
1.3.x: https://www.drupal.org/docs/contributed-modules/single-content-sync
1.4.x: Coming soon
Still have questions?
We've recently created a slack channel under Drupal workspace. Here is a link to jump into
https://drupal.slack.com/archives/C045328ESKY
Module Link
Project Usage
3407
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the problem of migrating overview/basic/landing pages and deploying them to another environment without the need for manual steps afterward.
Data Name
single_content_sync