This module provides a migration source plugin that allows you to use a directory of YAML files as the data source for your migrations. Each YAML file in the specified directory is treated as a single row of data to be migrated into your Drupal site.
Allows a set of YAML files to be used as a source for migrations. Each file represents a row for migration.
In my_migrate_module/migrations/pages.yml:
id: pages
source:
plugin: yaml_fileset
path: 'modules/custom/my_migrate_module/content/pages'
ids:
id:
type: string
process:
title: title
body/value: body
body/format:
plugin: default_value
default_value: plain_text
source: body_format
destination:
plugin: 'entity:node'
default_bundle: page
Ask your assistant about Migrate Source YAML Fileset
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
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha3 | Pre-release | 10–11 | May 28, 2024 |