function locale_update_8300 in Drupal 8
Delete translation status data in state.
File
- core/
modules/ locale/ locale.install, line 314 - Install, update, and uninstall functions for the Locale module.
Code
function locale_update_8300() {
// Delete the old translation status data, it will be rebuilt and stored in
// the new key value collection.
\Drupal::state()
->delete('locale.translation_status');
}