function advagg_element_info_alter in Advanced CSS/JS Aggregation 7
Same name and namespace in other branches
- 7.2 advagg.module \advagg_element_info_alter()
Implements hook_element_info_alter().
Parameters
$type:
File
- ./
advagg.module, line 233 - Advanced CSS/JS aggregation module
Code
function advagg_element_info_alter(&$type) {
// Swap in our own aggregation callback.
if (isset($type['styles']['#aggregate_callback'])) {
$type['styles']['#aggregate_callback'] = '_advagg_aggregate_css';
// $type['styles']['#group_callback'] = '_advagg_group_css';
}
}