Mercurial > hg > isophonics-drupal-site
diff core/modules/migrate_drupal/migrate_drupal.install @ 14:1fec387a4317
Update Drupal core to 8.5.2 via Composer
author | Chris Cannam |
---|---|
date | Mon, 23 Apr 2018 09:46:53 +0100 |
parents | |
children | c2387f117808 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/core/modules/migrate_drupal/migrate_drupal.install Mon Apr 23 09:46:53 2018 +0100 @@ -0,0 +1,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(); +}