d7_to_d10_migration/drupal10/web/sites/default/settings.migrate.php

26 lines
749 B
PHP
Raw Permalink Normal View History

2024-07-23 03:38:34 +00:00
<?php
// Core settings.
$settings['migrate_source_connection'] = 'migrate';
$settings['migrate_source_version'] = '7';
$settings['migrate_file_public_path'] = 'http://ddev-migration-drupal7-web';
$settings['migrate_file_private_path'] = '';
$settings['migrate_node_migrate_type_classic'] = TRUE;
2024-08-21 00:30:51 +00:00
// 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.
];