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

Implements hook_element_info_alter().

Parameters

$type:

File

./advagg.module, line 233

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';
    }
}