Implements hook_modules_enabled().
function module_test_modules_enabled($modules) {
// Record the ordered list of modules that were passed in to this hook so we
// can check that the modules were enabled in the correct sequence.
state()
->set('system_test.module_enable_order', $modules);
}