locale_translation_clear_status

locale_translation_clear_status()

Clear the translation status cache.

File

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

Code

1
2
3
4
function locale_translation_clear_status() {
  \Drupal::state()->delete('locale.translation_status');
  \Drupal::state()->delete('locale.translation_last_checked');
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.