function locale_cache_flush

locale_cache_flush()

Implements hook_cache_flush().

File

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

Code

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

© 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.module/function/locale_cache_flush/8.1.x