Add migrate_skip_fields settings

This commit is contained in:
Mauricio Dinarte 2024-08-20 18:30:51 -06:00
parent 2369ffc02b
commit f1908a5f6e

View file

@ -8,3 +8,18 @@
$settings['migrate_file_private_path'] = ''; $settings['migrate_file_private_path'] = '';
$settings['migrate_node_migrate_type_classic'] = TRUE; $settings['migrate_node_migrate_type_classic'] = TRUE;
// Migrate skip fields settings.
$settings['migrate_skip_fields_source_version'] = '7';
$settings['migrate_skip_fields_by_name'] = [
'node:speaker:*', // Changed to user entity.
'node:sponsor:*', // Changed to taxonomy term entity.
'node:swag:*', // Content type no longer needed.
'*:*:field_image', // Changed to media reference field.
];
$settings['migrate_skip_fields_by_type'] = [
'youtube', // Changed to media reference field.
];