function migrate_drupal_ui_install
Same name in other branches
- 9 core/modules/migrate_drupal_ui/migrate_drupal_ui.install \migrate_drupal_ui_install()
- 10 core/modules/migrate_drupal_ui/migrate_drupal_ui.install \migrate_drupal_ui_install()
- 11.x core/modules/migrate_drupal_ui/migrate_drupal_ui.install \migrate_drupal_ui_install()
Implements hook_install().
File
-
core/
modules/ migrate_drupal_ui/ migrate_drupal_ui.install, line 13
Code
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,
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.