You are here

function locale_test_uninstall in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/tests/modules/locale_test/locale_test.install \locale_test_uninstall()
  2. 9 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 11
Install, update and uninstall functions for the locale_test module.

Code

function locale_test_uninstall() {

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