Module Description
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-references as 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 Usage
395
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
Default Content Extra module aims to solve challenges related to exporting and importing content in Drupal 8, such as adding path alias support for nodes and taxonomy term entities, automatically deleting users 0 and 1, and fixing duplicate workspace issues.
Data Name
default_content_extra

OPENAI CHATBOT

OPENAI CHATBOT

12:33:24
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.