Same name in other branches
  1. 6.0.x advagg_mod/advagg_mod.install \advagg_mod_install()
  2. 7.x-2.x advagg_mod/advagg_mod.install \advagg_mod_install()
  3. 8.x-3.x advagg_mod/advagg_mod.install \advagg_mod_install()
  4. 8.x-4.x advagg_mod/advagg_mod.install \advagg_mod_install()

Implements hook_install().

Clear caches.

File

advagg_mod/advagg_mod.install, line 36

Code

function advagg_mod_install() {
    Cache::invalidateTags([
        'library_info',
    ]);
    \Drupal::cache('render')->invalidateAll();
}