MigrationInterface::mergeProcessOfProperty() doesn't document who wins

Created on 8 March 2021, almost 4 years ago
Updated 1 July 2024, 6 months ago

Problem/Motivation

The docs say:

   * Merge the process pipeline configuration for a single property.
   *
   * @param string $property
   *   The property of which to merge the passed in process pipeline
   *   configuration.
   * @param array $process_of_property
   *   The process pipeline configuration to be merged with the existing process
   *   pipeline configuration.
   *
   * @return $this
   *   The migration entity.

This leaves a lot unsaid. If the same property is in the migration configuration and the incoming $process_of_property configuration, which one wins? Is the merge deep for arrays?

Steps to reproduce

Proposed resolution

Remaining tasks

Investigate what the implementation does and expand the documentation.

User interface changes

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Needs work

Version

11.0 πŸ”₯

Component
MigrationΒ  β†’

Last updated about 12 hours ago

Created by

πŸ‡¬πŸ‡§United Kingdom joachim

Live updates comments and jobs are added and updated live.
  • Novice

    It would make a good project for someone who is new to the Drupal contribution process. It's preferred over Newbie.

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