Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Migrate default content

Security covered Under active development 749 sites

This module allows you to import pre-defined content into your Drupal site using YAML files. These files, organized by entity type and bundle, are stored in a designated directory within your project.

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.

Drupal 10–11

Ask your assistant about Migrate default content

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • migrate Drupal core
  • migrate_source_yaml Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
11
Tracked since
Oct 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
3.0.0 Stable 10–11 Sep 18, 2025
8.x-2.0 Stable 8–10 Apr 15, 2024
3.0.0-alpha5 Pre-release 10 Apr 12, 2024
3.0.0-alpha4 Pre-release 10 Feb 9, 2024
3.0.0-alpha3 Pre-release 10 Feb 8, 2024
3.0.0-alpha2 Pre-release 10 Feb 7, 2024
3.0.0-alpha1 Pre-release 10 Feb 7, 2024
3.0.0-alpha0 Pre-release 10 Feb 1, 2024
3.x-dev Dev 10–11 Feb 1, 2024
8.x-2.0-beta1 Pre-release 8–10 Jan 29, 2024