You are here

migrate_drupal_ui.install in Drupal 8

Install, update, and uninstall functions for the migrate_drupal_ui module.

File

core/modules/migrate_drupal_ui/migrate_drupal_ui.install
View source
<?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,
  ]));
}

Functions

Namesort descending Description
migrate_drupal_ui_install Implements hook_install().