|
@@ -15,7 +15,7 @@ class UserPreImport implements EventSubscriberInterface {
|
|
|
}
|
|
|
|
|
|
public function onPreImport(MigrateImportEvent $event) {
|
|
|
- /** @var \Drupal\reinstall\Plugin\migrate\source\ReinstallUserSource $plugin */
|
|
|
+ /** @var \Drupal\reinstall\Plugin\migrate\source\ReinstallUserSourceBase $plugin */
|
|
|
$plugin = $event->getMigration()->getSourcePlugin();
|
|
|
$plugin->records = array_filter($plugin->records, [$this, 'filter01']);
|
|
|
return;
|