You are here

function module_test_modules_uninstalled in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/system/tests/modules/module_test/module_test.module \module_test_modules_uninstalled()
  2. 7 modules/simpletest/tests/module_test.module \module_test_modules_uninstalled()

Implements hook_modules_uninstalled().

File

core/modules/system/tests/modules/module_test/module_test.module, line 91
Test module.

Code

function module_test_modules_uninstalled($modules) {

  // Record the ordered list of modules that were passed in to this hook so we
  // can check that the modules were uninstalled in the correct sequence.
  \Drupal::state()
    ->set('module_test.uninstall_order', $modules);
}