summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal_ui/migrate_drupal_ui.install
blob: 5962ee1f8786672bd6ede86baff685eb404a039b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

/**
 * @file
 * Install, update, and uninstall functions for the migrate_drupal_ui module.
 */

use Drupal\Core\Url;

/**
 * Implements hook_install().
 */
function migrate_drupal_ui_install() {
  $url = Url::fromRoute('migrate_drupal_ui.upgrade')->toString();
  \Drupal::messenger()->addStatus(t('The Migrate Drupal UI module has been enabled. Proceed to the <a href=":url">upgrade form</a>.', [':url' => $url]));
}