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

1.3 2017-09-15 14:54 UTC

This package is auto-updated.

Last update: 2024-04-08 21:31:39 UTC


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.