migrate_default_content
663 sites
Security covered
Migrate default content provides a way to import content into a site using yaml files stored in the default_content directory of a drupal project.
Configuring the default directory
By default, the content directory is located at the root of a project in the default_content directory. You can customize this by changing the source_dir value in the config.
File format
The files used to import content should be placed inside the default directory and match the following naming scheme: ENTITY_TYPE.BUNDLE.yml.
For example: if you wanted to import default article nodes, you would put them in node.article.yml. Following the same logic, if you wanted to have default users you would put them in user.user.yml.
More information can be found in the README.md file.