function system_test_module_preuninstall

Same name in other branches
  1. 8.9.x core/modules/system/tests/modules/system_test/system_test.module \system_test_module_preuninstall()
  2. 10 core/modules/system/tests/modules/system_test/system_test.module \system_test_module_preuninstall()
  3. 11.x core/modules/system/tests/modules/system_test/system_test.module \system_test_module_preuninstall()

Implements hook_module_preuninstall().

File

core/modules/system/tests/modules/system_test/system_test.module, line 143

Code

function system_test_module_preuninstall($module) {
    \Drupal::state()->set('system_test_preuninstall_module', $module);
}

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