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(); }
Please login to continue.