function locale_update_8800 in Drupal 8
Clear Locale project storage to use new 'all' instead of 8.x in URLs.
File
- core/
modules/ locale/ locale.install, line 335 - Install, update, and uninstall functions for the Locale module.
Code
function locale_update_8800() {
\Drupal::service('locale.project')
->deleteAll();
}