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

function locale_translation_clear_status() {
  \Drupal::state()->delete('locale.translation_status');
  \Drupal::state()->delete('locale.translation_last_checked');
}
doc_Drupal
2016-10-29 09:24:24
Comments
Leave a Comment

Please login to continue.