Migrating configuration

The example below is extremely simple and shows how module configuration settings can be migrated using the config destination plugin. The core Dblog module is used as an example. It has only one configuration setting that needs to be migrated from Drupal 6 to modern Drupal configuration objects.

This migration is defined in /core/modules/dblog/migrations/d6_dblog_settings.yml.

Managing your site's configuration

Drupal stores site configuration data in a consistent manner, everything from the list of enabled modules, through to content types, taxonomy vocabularies, fields, and views.

Making configuration changes on a live site is not recommended. The system is designed to make it easy to take the live configuration, test changes locally, export them to files, and deploy to production. Your site's configuration can be stored as part of your codebase and integrated with version control.

Subscribe with RSS Subscribe to RSS - configuration migration