\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
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | drupal_2170989_1.patch | 1005 bytes | xano |
Comments
Comment #1
xanoComment #2
xanoWe may not need tests for this if #2170991: Migrate provides invalid arguments when invoking hooks/type hint array arguments in ModuleHandlerInterface gets fixed.
Comment #3
chx commentedCommitted, thanks!
Comment #4
chx commentedOK so this needs to go into core as well.
Comment #5
xanoComment #6
andypostSuppose this hooks are not covered with tests at all
Comment #7
xanoLet's combine this with #2170991: Migrate provides invalid arguments when invoking hooks/type hint array arguments in ModuleHandlerInterface.