migrate_drupal_ui.install in Drupal 8
Same filename and directory in other branches
Install, update, and uninstall functions for the migrate_drupal_ui module.
File
core/modules/migrate_drupal_ui/migrate_drupal_ui.installView 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
Name | Description |
---|---|
migrate_drupal_ui_install | Implements hook_install(). |