You are here

function locale_cache_flush in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/locale/locale.module \locale_cache_flush()
  2. 10 core/modules/locale/locale.module \locale_cache_flush()

Implements hook_cache_flush().

File

core/modules/locale/locale.module, line 484
Enables the translation of the user interface to languages other than English.

Code

function locale_cache_flush() {
  \Drupal::state()
    ->delete('system.javascript_parsed');
}