migrate_drupal_ui.install 424 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
<?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() {
14
  $url = Url::fromRoute('migrate_drupal_ui.upgrade')->toString();
15
  \Drupal::messenger()->addStatus(t('The Migrate Drupal UI module has been enabled. Proceed to the <a href=":url">upgrade form</a>.', [':url' => $url]));
16
}