function LocaleHooks::cacheFlush

Implements hook_cache_flush().

Attributes

#[Hook('cache_flush')]

File

core/modules/locale/src/Hook/LocaleHooks.php, line 194

Class

LocaleHooks
Hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

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

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