migrate_drupal_ui.install

Same filename in other branches
  1. 9 core/modules/migrate_drupal_ui/migrate_drupal_ui.install
  2. 10 core/modules/migrate_drupal_ui/migrate_drupal_ui.install
  3. 11.x core/modules/migrate_drupal_ui/migrate_drupal_ui.install

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

Title Deprecated Summary
migrate_drupal_ui_install Implements hook_install().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.