locale_translation_flush_projects

locale_translation_flush_projects()

Clear the project data table.

File

core/modules/locale/locale.compare.inc, line 20
The API for comparing project translation status with available translation.

Code

function locale_translation_flush_projects() {
  \Drupal::service('locale.project')->deleteAll();
}
doc_Drupal
2016-10-29 09:24:25
Comments
Leave a Comment

Please login to continue.