function 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(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!modules!locale!locale.compare.inc/function/locale_translation_flush_projects/8.1.x