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!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Comments

anybody created an issue. See original summary.

anybody’s picture

Assigned: grevil » Unassigned