Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Entity Migrate Export

Security covered Under active development 189 sites

Entity Migrate Export (EME) is a tool that generates Drupal migration modules to export entity instances from one Drupal site to another. It automatically includes referenced entities and creates a custom module with migration definitions that can be used with Migrate Tools or Drush.

Entity Migrate Export (EME) is a Drupal (8|9|10) to Drupal (8|9|10) migration generator tool. With this module, you are able to export entity instances of the specified content entity types into migrations. Every content entity referred by a reference field will also be included.

EME generates a module with a set of migration plugin definitions and data sources. After installing the generated module (its name defaults to eme_content), you will be able to import the entities (e.g. nodes, files, media, comments etc) with Migrate Tools or with Drush 10.4.0+.

This module does not depend on any contrib module. However, the generated migrations (and the module as well) require Migrate Plus.

Usage

Exporting content

From UI

  • Visit the Settings form at /admin/config/development/entity-export/settings and customize the default settings based on your needs.
  • Go to the export form at /admin/config/development/entity-export, select which type of entities do you want to export to migrations, and submit the form.
  • At the end of the batch process, you will get the generated migration module.

With Drush

  • drush eme:export \
      --id my_project_dev \
      --types node,block_content
    

    This is equivalent to:

    drush eme:export \
      --module my_project_dev_content \
      --group my_project_dev \
      --id-prefix my_project_dev \
      --types node,block_content \
      --name 'My Project Dev Content Entity Migration' \
      --destination modules/custom

Import the migrations 

  • Install Migrate Tools and Migrate Plus.
  • Enable the generated module (its default name is eme_migrate).
  • Execute the migrations with the group name (group defaults to eme):
    drush migrate:import --tag my_project_dev --execute-dependencies

Update previous export

From UI

  • Go to the collection form at /admin/config/development/entity-export/collection.
  • Press the "Reexport" button of the collection you want to update with new content.

With Drush

  • drush eme:export --update my_project_dev_content
Drupal 8–11

Ask your assistant about Entity Migrate Export

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

No dependencies recorded for this project.

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Slowing

Release Timeline

Releases

Version Type Core PHP Release date
1.0.1 Stable 8–11 Apr 3, 2025
1.0.0 Stable 8–11 Jun 29, 2024
1.0.0-alpha13 Pre-release 8–10 Mar 14, 2023
2.x-dev Dev 8–11 Mar 9, 2023
1.0.0-alpha12 Pre-release 8–10 Feb 8, 2023