function slickgrid_module_implements_alter in Slickgrid 7.2
Implements hook_module_implements_alter()
Move this module's hook_file_presave to the top.
File
- ./
slickgrid.module, line 523
Code
function slickgrid_module_implements_alter(&$implementations, $hook) {
if ($hook == 'file_presave') {
if (isset($implementations['slickgrid'])) {
$move = $implementations['slickgrid'];
unset($implementations['slickgrid']);
$new_implementations = array(
'slickgrid' => $move,
);
foreach ($implementations as $key => $move) {
$new_implementations[$key] = $move;
}
$implementations = $new_implementations;
}
}
}