Same name in other branches
  1. 5.0.x advagg_bundler/advagg_bundler.install \advagg_bundler_install()
  2. 7.x-2.x advagg_bundler/advagg_bundler.install \advagg_bundler_install()
  3. 8.x-3.x advagg_bundler/advagg_bundler.install \advagg_bundler_install()
  4. 8.x-4.x advagg_bundler/advagg_bundler.install \advagg_bundler_install()

Implements hook_install().

Clear some caches.

File

advagg_bundler/advagg_bundler.install, line 13

Code

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