You are here

function advagg_css_minify_install in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 advagg_css_minify/advagg_css_minify.install \advagg_css_minify_install()

Implements hook_install().

Clear some caches.

File

advagg_css_minify/advagg_css_minify.install, line 45
Handles AdvAgg CSS minify installation and upgrade tasks.

Code

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