You are here

function advagg_sri_module_implements_alter in Advanced CSS/JS Aggregation 7.2

Implements hook_module_implements_alter().

File

advagg_sri/advagg_sri.module, line 57
Advanced aggregation sri module.

Code

function advagg_sri_module_implements_alter(&$implementations, $hook) {

  // Move advagg_sri to the bottom.
  if ($hook === 'advagg_save_aggregate_alter' && array_key_exists('advagg_sri', $implementations)) {
    $item = $implementations['advagg_sri'];
    unset($implementations['advagg_sri']);
    $implementations['advagg_sri'] = $item;
  }
}