function locale_cache_flush in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/locale.module \locale_cache_flush()
- 9 core/modules/locale/locale.module \locale_cache_flush()
Implements hook_cache_flush().
File
- core/
modules/ locale/ locale.module, line 486 - Enables the translation of the user interface to languages other than English.
Code
function locale_cache_flush() {
\Drupal::state()
->delete('system.javascript_parsed');
}