Default Content

A way to include default content in a module.

To use, find the uuid of entities that you want to export, and add them to your module's .info file.

Run the drush command [default-content:export-module] to export content into MODULE/content.

The content will be imported when the module is installed.

Because of this, it doesn't work to add or change default content on an existing module!

See also Default Content Deploy: https://www.drupal.org/project/default_content_deploy (Is this still maintained?)

Stability
Alpha
Tags