function locale_test_uninstall

Same name in other branches
  1. 9 core/modules/locale/tests/modules/locale_test/locale_test.install \locale_test_uninstall()
  2. 8.9.x core/modules/locale/tests/modules/locale_test/locale_test.install \locale_test_uninstall()
  3. 10 core/modules/locale/tests/modules/locale_test/locale_test.install \locale_test_uninstall()

Implements hook_uninstall().

File

core/modules/locale/tests/modules/locale_test/locale_test.install, line 13

Code

function locale_test_uninstall() : void {
    // Clear variables.
    \Drupal::state()->delete('locale.test_system_info_alter');
    \Drupal::state()->delete('locale.test_projects_alter');
}

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