function system_test_module_preinstall
Same name in other branches
- 8.9.x core/modules/system/tests/modules/system_test/system_test.module \system_test_module_preinstall()
- 10 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 135
Code
function system_test_module_preinstall($module) {
\Drupal::messenger()->addStatus('system_test_preinstall_module called');
\Drupal::state()->set('system_test_preinstall_module', $module);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.