Skip to content
Snippets Groups Projects
Commit 72ed2725 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2560597 followup by webchick, hass: Mark Migrate* modules as Experimental

parent 3444108a
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -53,10 +53,11 @@ function system_requirements($phase) {
// Warn if any experimental modules are installed.
$experimental = array();
$enabled_modules = system_rebuild_module_data();
$enabled_modules = \Drupal::moduleHandler()->getModuleList();
foreach ($enabled_modules as $module => $data) {
if ($data->info['package'] === 'Core (Experimental)') {
$experimental[$module] = $data->info['name'];
$info = system_get_info('module', $module);
if ($info['package'] === 'Core (Experimental)') {
$experimental[$module] = $info['name'];
}
}
if (!empty($experimental)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment