You are here

function advagg_js_minify_install in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 advagg_js_minify/advagg_js_minify.install \advagg_js_minify_install()

Implements hook_install().

Clear some caches.

File

advagg_js_minify/advagg_js_minify.install, line 45
Handles AdvAgg JS minify installation and upgrade tasks.

Code

function advagg_js_minify_install() {
  \Drupal::cache('render')
    ->invalidateAll();
  \Drupal::cache('advagg')
    ->invalidateAll();
}