function locale_translation_clear_status

Clear the translation status cache.

3 calls to locale_translation_clear_status()
LocaleSettingsForm::submitForm in drupal/core/modules/locale/lib/Drupal/locale/Form/LocaleSettingsForm.php
Implements \Drupal\Core\Form\FormInterface::submitForm().
locale_system_file_system_settings_submit in drupal/core/modules/locale/locale.module
Submit handler for the file system settings form.
locale_translation_status_form_submit in drupal/core/modules/locale/locale.pages.inc
Form submission handler for locale_translation_status_form().

File

drupal/core/modules/locale/locale.module, line 942
Enables the translation of the user interface to languages other than English.

Code

function locale_translation_clear_status() {
  Drupal::state()
    ->delete('locale.translation_status');
  Drupal::state()
    ->delete('locale.translation_last_checked');
}