summaryrefslogtreecommitdiffstatshomepage
path: root/core/modules/migrate_drupal/migrate_drupal.install
blob: 87d60884a3193f3571f4d05ca096294caeb4ee57 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?php

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

/**
 * Implements hook_update_last_removed().
 */
function migrate_drupal_update_last_removed(): int {
  return 8901;
}

/**
 * Implements hook_uninstall().
 */
function migrate_drupal_uninstall($is_syncing): void {
  $state = \Drupal::state();
  $state->delete('migrate_drupal_6');
  $state->delete('migrate_drupal_7');
}