[META] Build form plugins for process plugins in feeds migrate

Created on 10 April 2019, over 5 years ago
Updated 9 January 2024, 11 months ago

Problem/Motivation

When we are migrating data into Drupal fields, sometimes we'd like to tamper that data beforehand. We could trim the whitespace from a data source before importing it into a field for example.

We need a user interface to allow users to select a processor to execute on a data source for each process plugin we're including.

Proposed resolution

In order to create a form for process plugins, each process plugin needs:

  • A label
  • A description

And optionally:

  • Config schema
  • Config default values
  • A category (used to group process plugins of the same kind in the UI and thus make it easier to find)

The config schema could help (in theory) to create a dynamic form for process plugins. A dynamic form may not be user friendly for each process plugin though, so it is possible that for most we still need to create specific forms.

The above information can also be added to form plugins in Migrate Plus Feeds itself, but then we need to create a form plugin per process plugin, a dynamic form I think is not possible then.

Lets build form plugins for each process plugin. (Important ones taken from https://www.drupal.org/project/entity_import )

  • Default Value
  • Explode
  • Skip on empty
  • Format date

Remaining tasks

* Provide examples of this in the code for new coder to start building these form plugins with
* Create child issues for each process plugin we need to create form plugins for

📌 Task
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada jamesdixon

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024