function agrcache_element_info_alter in Aggregate cache 7
Implements hook_element_info_alter().
File
- ./
agrcache.module, line 29 - Provides imagecache style generation of css/js aggregates.
Code
function agrcache_element_info_alter(&$type) {
// Swap in our own aggregation callback.
if (isset($type['styles']['#aggregate_callback'])) {
$type['styles']['#aggregate_callback'] = 'agrcache_aggregate_css';
}
}