Same name in other branches
  1. 7.x-1.x advagg.module \advagg_admin_menu_cache_info()

Implements hook_admin_menu_cache_info().

Add in a cache flush for advagg.

Sujets associés

Fichier

./advagg.module, line 1434

Code

function advagg_admin_menu_cache_info() {
    if (variable_get('advagg_enabled', ADVAGG_ENABLED)) {
        $caches['advagg'] = array(
            'title' => t('Adv CSS/JS Agg'),
            'callback' => 'advagg_admin_flush_cache',
        );
        return $caches;
    }
}