function locale_translation_flush_projects

Clear the project data table.

1 call to locale_translation_flush_projects()
LocaleController::checkTranslation in core/modules/locale/src/Controller/LocaleController.php
Checks for translation updates and displays the translations status.

File

core/modules/locale/locale.compare.inc, line 21

Code

function locale_translation_flush_projects() {
  \Drupal::service('locale.project')->deleteAll();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.