Add status filter to migration source

Created on 26 December 2023, 12 months ago
Updated 21 February 2024, 10 months ago

Problem/Motivation

In order to bulk import items that have a certain status, I would like to be able to filter the migration source by status id.

Proposed resolution

Add a status id property to the migration source plugin, and use it when making the API call to gathercontent.

Remaining tasks

It might be nice to add this as an option to the gathercontent:import command.

User interface changes

None expected.

API changes

New property available in migration configurations: statusId. Note that this needs to be added either in the generated migration config files, or in a settings.php file: $config['migrate_plus.migration.' . $id]['source']['statusId'] = '1234567';

Data model changes

None expected.

✨ Feature request
Status

Needs review

Version

6.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States nadavoid

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024