I have the jQuery Update's development shapshot version 7.x-2.x-dev installed and enabled. The version jQuery configured in UI is not being imported. As result, it is importing version 1.4.4 instead of the version I specified. Debugging, I noticed that jquery_update_library_alter()
is not being called. In meanwhile, my custom hook_library_alter()
is called, and I use that as temporary solution until I figure out why the hook implemented by the jQuery Update module is not called.
function MODULE-NAME_library_alter(&$javascript, $module) {
module_load_include('module', 'jquery_update');
jquery_update_library_alter($javascript, $module);
}
This is first time I encounter a situation where hooks are not called. Where are hooks attached to and where are they called from? How would you approach to troubleshoot hooks? Where can I check all registered hooks?