Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. LocaleHooks.php

function LocaleHooks::cacheFlush

Implements hook_cache_flush().

File

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

Class

LocaleHooks
Hook implementations for locale.

Namespace

Drupal\locale\Hook

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal