vpeltot / content_staging
A drupal module to keep content during site install.
Installs: 2 859
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 6
Open Issues: 3
Type:drupal-module
pkg:composer/vpeltot/content_staging
Requires
- drupal/migrate_plus: ~4.0
- drupal/migrate_tools: ~4.0
README
Content Staging
This module provide a content staging for all Drupal 8 projects.
Exporting content:
--------------------
1. After enabling this module, go to /admin/config/system/content-staging :
- Choose all entity types / bundles you want to export the content
- Change the default content staging directory ('../staging' by default).
This directory is relative to the drupal root.
2. Run the drush command :
$ drush export-content
Importing content:
--------------------
1. Run the drush command to update migration entities
regarding the previous configuration.
$ drush update-migration-config
2. Run the migration
$ drush mi --group content_staging
TODO:
--------------------
Add an alert if an entity reference exists
when an entity type is chosen in the admin page.