You are here

function migrate_drupal_update_8501 in Drupal 8

Creates migrate_drupal.settings config object.

File

core/modules/migrate_drupal/migrate_drupal.install, line 11
Contains install and update functions for Migrate Drupal

Code

function migrate_drupal_update_8501() {
  \Drupal::configFactory()
    ->getEditable('migrate_drupal.settings')
    ->set('enforce_source_module_tags', [
    'Drupal 6',
    'Drupal 7',
  ])
    ->save();
}