Issue #3547891: Fix TypeError in migrate_plus_module_implements_alter()
Fixes a fatal TypeError in migrate_plus_module_implements_alter() on Drupal 11 when $hook is passed as an integer.
- Add type check: return early if $hook is not a string.
- Ensures migrate_plus only processes migration_plugins_alter.
- Compatible with both Drupal 10 and 11.
Closes #3547891
Edited by Tara Wijayagunawardana