Default Content Extra is a Drupal 8 only module that adds "extra", experimental
functionality to the Default Content for D8 module (but is not affiliated with the module other than it is a required dependency.)
Current features include:
- Path alias support for nodes and taxonomy term entities - see #2710421: Export URL alias configuration for nodes
- Automatically delete users 0 and 1 after exporting entities using
drush default-content-export-referencesas these can cause errors when installing a site with default content. - Delete stage and live workspaces on import to fix duplicate workspace issues.
To use the module, simply enable it and export your content as you would with
the Default Content commands such as:
drush dcer node --folder=relative_path_from_docroot
Assuming the "Path aliases" functionality is enabled, exported content will contain additional data that looks like:
"path": {
"alias": "\/myawesomepath"
}
Configuration for enabling the above features is available at admin/config/content/default-content-extra. All features are enabled by default.
Why Another Module?
There is an issue in the Default Content issue queue and it was rightfully postponed: #2710421: Export URL alias configuration for nodes. With the Workflow Initiative still underway, there needs to be a temporary solution to solve some of the Default Content challenges quickly as moving content around in Drupal 8 is a challenging issue.
Project information
- Project categories: Content editing experience
69 sites report using this module
- Created by dixon_ on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.
Releases
This release adds support for Drupal 10
Development version: 8.x-1.x-dev updated 21 Mar 2023 at 15:16 UTC

