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

Implements hook_admin_menu_output_alter().

Add in a cache flush for advagg.

Related topics

File

./advagg.module, line 1449

Code

function advagg_admin_menu_output_alter(array &$content) {
    if (variable_get('advagg_enabled', ADVAGG_ENABLED)) {
        // Remove default core aggregation link.
        unset($content['icon']['icon']['flush-cache']['assets']);
    }
}