You are here

function labjs_advagg_js_pre_alter in LABjs 6

Implements hook_advagg_js_pre_alter.

File

./labjs.module, line 64
LABjs module

Code

function labjs_advagg_js_pre_alter(&$javascript) {
  global $conf;
  if (labjs_suppress() || empty($javascript)) {
    return;
  }
  _labjs_patch_core($javascript);
  module_load_include('inc', 'labjs', 'includes/labjs.advagg');
  $conf['advagg_js_render_function'] = 'labjs_advagg_js_builder';
}