Sets the type of the node migration.
bool $classic_node_migration: Whether nodes should be migrated with the 'classic' way. If this is FALSE, and the current Drupal instance has the 'complete' migration, then the complete node migration will be used.
protected function setClassicNodeMigration(bool $classic_node_migration) {
$current_method = Settings::get('migrate_node_migrate_type_classic', FALSE);
if ($current_method !== $classic_node_migration) {
$settings['settings']['migrate_node_migrate_type_classic'] = (object) [
'value' => $classic_node_migration,
'required' => TRUE,
];
$this
->writeSettings($settings);
}
}