function system_test_module_preinstall in Drupal 8
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/system_test/system_test.module \system_test_module_preinstall()
Implements hook_module_preinstall().
File
- core/
modules/ system/ tests/ modules/ system_test/ system_test.module, line 155 - Test module.
Code
function system_test_module_preinstall($module) {
\Drupal::state()
->set('system_test_preinstall_module', $module);
}