Problem/Motivation
Just saw the following code in Klaro and think that totally makes sense:
/**
* Implements hook_module_implements_alter().
*/
function klaro_module_implements_alter(&$implementations, $hook) {
switch ($hook) {
case 'js_alter':
case 'page_attachments_alter':
// Ensure our hooks run last to support libraries added by other modules.
$group = $implementations['klaro'];
unset($implementations['klaro']);
$implementations['klaro'] = $group;
break;
}
}
But the situation might be a bit different here for us, because we run these hooks in the submodules!
Comments
Comment #2
anybody