locale_test.install in Drupal 8
Same filename and directory in other branches
Install, update and uninstall functions for the locale_test module.
File
core/modules/locale/tests/modules/locale_test/locale_test.installView source
<?php
/**
* @file
* Install, update and uninstall functions for the locale_test module.
*/
/**
* Implements hook_uninstall().
*/
function locale_test_uninstall() {
// Clear variables.
\Drupal::state()
->delete('locale.test_system_info_alter');
\Drupal::state()
->delete('locale.test_projects_alter');
}
Functions
Name | Description |
---|---|
locale_test_uninstall | Implements hook_uninstall(). |