\Drupal\migrate\Plugin\migrate\source\SourcePluginBase::prepareRow() invokes two Migrate hooks, but instead of providing the hook arguments as an array, it passes on objects. This came to light when testing #1972304-51: Add a HookEvent.

This issue blocks

CommentFileSizeAuthor
#1 drupal_2170989_1.patch1005 bytesxano

Comments

xano’s picture

Assigned: xano » Unassigned
Status: Active » Needs review
StatusFileSize
new1005 bytes
xano’s picture

chx’s picture

Project: Drupal core » IMP
Version: 8.x-dev »
Component: migration system » Code
Status: Needs review » Fixed

Committed, thanks!

chx’s picture

Project: IMP » Drupal core
Version: » 8.x-dev
Component: Code » migration system
Status: Fixed » Reviewed & tested by the community

OK so this needs to go into core as well.

xano’s picture

Issue summary: View changes
andypost’s picture

Priority: Normal » Major

Suppose this hooks are not covered with tests at all

xano’s picture

Status: Reviewed & tested by the community » Closed (duplicate)