You are here

function labjs_module_implements_alter in LABjs 7

Implements hook_module_implements_alter().

File

./labjs.module, line 70
LABjs module

Code

function labjs_module_implements_alter(&$implementations, $hook) {

  // Move labjs to the top.
  if ($hook === 'advagg_modify_js_pre_render_alter' && array_key_exists('labjs', $implementations)) {
    $item = array(
      'labjs' => $implementations['labjs'],
    );
    unset($implementations['labjs']);
    $implementations = array_merge($item, $implementations);
  }
}