Closed (fixed)
Project:
Drupal core
Version:
main
Component:
migration system
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 May 2026 at 10:39 UTC
Updated:
15 Jun 2026 at 08:45 UTC
Jump to comment: Most recent
default.settings.php still has some Migrate Drupal related settings:
/**
* Node migration type.
*
* This is used to force the migration system to use the classic node migrations
* instead of the default complete node migrations. The migration system will
* use the classic node migration only if there are existing migrate_map tables
* for the classic node migrations and they contain data. These tables may not
* exist if you are developing custom migrations and do not want to use the
* complete node migrations. Set this to TRUE to force the use of the classic
* node migrations.
*/
$settings['migrate_node_migrate_type_classic'] = FALSE;
/**
* The default settings for migration sources.
*
* These settings are used as the default settings on the Credential form at
* /upgrade/credentials.
*
* - migrate_source_version - The version of the source database. This can be
* '6' or '7'. Defaults to '7'.
* - migrate_source_connection - The key in the $databases array for the source
* site.
* - migrate_file_public_path - The location of the source Drupal 6 or Drupal 7
* public files. This can be a local file directory containing the source
* Drupal 6 or Drupal 7 site (e.g /var/www/docroot), or the site address
* (e.g http://example.com).
* - migrate_file_private_path - The location of the source Drupal 7 private
* files. This can be a local file directory containing the source Drupal 7
* site (e.g /var/www/docroot), or empty to use the same value as Public
* files directory.
*
* Sample configuration for a drupal 6 source site with the source files in a
* local directory.
*
* @code
* $settings['migrate_source_version'] = '6';
* $settings['migrate_source_connection'] = 'migrate';
* $settings['migrate_file_public_path'] = '/var/www/drupal6';
* @endcode
*
* Sample configuration for a drupal 7 source site with public source files on
* the source site and the private files in a local directory.
*
* @code
* $settings['migrate_source_version'] = '7';
* $settings['migrate_source_connection'] = 'migrate';
* $settings['migrate_file_public_path'] = 'https://drupal7.com';
* $settings['migrate_file_private_path'] = '/var/www/drupal7';
* @endcode
*/
# $settings['migrate_source_connection'] = '';
# $settings['migrate_source_version'] = '';
# $settings['migrate_file_public_path'] = '';
# $settings['migrate_file_private_path'] = '';
We should check that there are no remaining uses of these in core following #3572280: Remove Migrate Drupal, and remove them if we can.
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #4
avinash.jha commentedComment #5
avinash.jha commentedI have verified that there are no remaining uses of the following settings in core following the removal of Migrate Drupal in #3572280:
- migrate_node_migrate_type_classic
- migrate_source_version
- migrate_source_connection
- migrate_file_public_path
- migrate_file_private_path
Accordingly, I have completely removed these obsolete settings from both core/assets/scaffold/files/default.settings.php and sites/default/default.settings.php.
Please review
Comment #6
dcam commentedI verified that there are no uses of the five deleted settings in Core or elsewhere like in the sites directory. I read through
default.settings.phpto look for any other settings that should be removed, but I didn't see any. So this is a pretty simple change. It looks good to me.Comment #8
catchCommitted/pushed to main, thanks!