migrate_drupal_multilingual.install in Drupal 9
Same filename and directory in other branches
Install, update and uninstall functions for the migrate drupal multilingual module.
File
core/modules/migrate_drupal_multilingual/migrate_drupal_multilingual.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the migrate drupal multilingual module.
*/
/**
* Implements hook_requirements().
*
* @see migrate_drupal_post_update_uninstall_multilingual()
*/
function migrate_drupal_multilingual_requirements($phase) {
$requirements = [];
if ($phase === 'runtime') {
$requirements['migrate_drupal_multilingual'] = [
'title' => t('Migrate Drupal Multilingual'),
'severity' => REQUIREMENT_ERROR,
'description' => t('The Migrate Drupal Multilingual module is deprecated and should not be installed.'),
];
}
return $requirements;
}
Functions
Name | Description |
---|---|
migrate_drupal_multilingual_requirements | Implements hook_requirements(). |