Give an example of how to use in README

Created on 14 March 2023, over 1 year ago

Problem/Motivation

This plugin could really do with an example of how to use it in the README, including where to put it in a file migration.

I thought I should put it in in the process pipeline for the 'uri' property, but that caused all sorts of problems because the file_copy plugin has a weird array for its source.

After several failures, I managed to get it to work with this:

  uri:
    -
      plugin: skip_on_404
      method: row
      source: '@source_full_path'
    -
      plugin: file_copy
      source:
        - '@source_full_path'
        - uri

but then I looked in migrate_skip_on_404_migration_plugins_alter() and saw that it adds the 404 plugin to source_full_path process pipeline.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ“Œ Task
Status

Active

Version

1.1

Component

Documentation

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.69.0 2024