migrate_drupal.install 575 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
<?php

/**
 * @file
 * Contains install and update functions for Migrate Drupal
 */

/**
 * Creates migrate_drupal.settings config object.
 */
function migrate_drupal_update_8501() {
  \Drupal::configFactory()
    ->getEditable('migrate_drupal.settings')
    ->set('enforce_source_module_tags', ['Drupal 6', 'Drupal 7'])
    ->save();
}
17 18 19 20 21 22 23 24 25 26

/**
 * Sets the follow-up migration tags.
 */
function migrate_drupal_update_8502() {
  \Drupal::configFactory()
    ->getEditable('migrate_drupal.settings')
    ->set('follow_up_migration_tags', ['Follow-up migration'])
    ->save();
}