function module_test_modules_uninstalled

Same name in other branches
  1. 7.x modules/simpletest/tests/module_test.module \module_test_modules_uninstalled()
  2. 9 core/modules/system/tests/modules/module_test/module_test.module \module_test_modules_uninstalled()
  3. 8.9.x core/modules/system/tests/modules/module_test/module_test.module \module_test_modules_uninstalled()
  4. 11.x core/modules/system/tests/modules/module_test/module_test.module \module_test_modules_uninstalled()

Implements hook_modules_uninstalled().

File

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

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.