migrate_drupal_ui.install 424 B

12345678910111213141516
  1. <?php
  2. /**
  3. * @file
  4. * Install, update, and uninstall functions for the migrate_drupal_ui module.
  5. */
  6. use Drupal\Core\Url;
  7. /**
  8. * Implements hook_install().
  9. */
  10. function migrate_drupal_ui_install() {
  11. $url = Url::fromRoute('migrate_drupal_ui.upgrade')->toString();
  12. \Drupal::messenger()->addStatus(t('The Migrate Drupal UI module has been enabled. Proceed to the <a href=":url">upgrade form</a>.', [':url' => $url]));
  13. }