Migrate Source CSV

Module Drupal Illustration Voir sur Drupal.org
Nb téléchargements : 24011


  • Code
  • Documentation
  • Miscellaneous
  • User interface
  • Examples






permet de sourcer une migration via un fichier CSV. (https://atendesigngroup.com/articles/drupal-8-content-migrations-csv-spreadsheet)


Status : Published
Projects : Modules
Maintenance status : Actively maintained
Development status : Maintenance fixes only
Supported Branches : 8.x-3.
shield Stable releases for this project are covered by the security advisory policy.


The basic Migrate framework went into core for Drupal 8 - but not all of it. The core migrate module will implement the underlying framework, while the migrate_drupal module will support simple upgrades from Drupal 6 and Drupal 7. The rest of the migration functionality from Drupal 7 will be left to contrib to implement.

Version 2 vs Version 3?

The difference is in how CSV files are loaded. 2.x uses entirely home grown CSV parsing and reading while 3.x uses league/csv for its parsing and reading. This allows support for many more features, including reading from file streams. This was a long requested feature in 2.x, and it is now provided in 3.x. If you are considering updating to 3.x, review the upgrade change record.

If you have <a href="http://www.drupal.org/project/csv_serialization">csv_serialization</a> installed on the site, make sure you update that project to its 2.x+ version as to avoid conflicts between these two projects. The underlying CSV reader libraries are in conflict in the 1.x version of that project with the 3.x version of this project. A simple upgrade fixes the issue.

A super simple CSV example, using the CSV that is utilized in this project's Unit Tests is available as a model.

Related resources

Similar modules

Toutes les informations proviennent du site drupal.org