function jquery_keyevent_polyfill_test_library_info_alter
Same name and namespace in other branches
- 9 core/modules/system/tests/modules/jquery_keyevent_polyfilll_test/jquery_keyevent_polyfill_test.module \jquery_keyevent_polyfill_test_library_info_alter()
- 10 core/modules/system/tests/modules/jquery_keyevent_polyfill_test/jquery_keyevent_polyfill_test.module \jquery_keyevent_polyfill_test_library_info_alter()
Implements hook_library_info_alter().
File
-
core/
modules/ system/ tests/ modules/ jquery_keyevent_polyfill_test/ jquery_keyevent_polyfill_test.module, line 11
Code
function jquery_keyevent_polyfill_test_library_info_alter(&$libraries, $module) {
if ($module == 'core' && isset($libraries['jquery'])) {
$libraries['jquery']['dependencies'][] = 'jquery_keyevent_polyfill_test/jquery.keyevent.polyfill';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.