class JqueryKeyeventPolyfillTestHooks

Hook implementations for jquery_keyevent_polyfill_test.

Hierarchy

Expanded class hierarchy of JqueryKeyeventPolyfillTestHooks

File

core/modules/system/tests/modules/jquery_keyevent_polyfill_test/src/Hook/JqueryKeyeventPolyfillTestHooks.php, line 12

Namespace

Drupal\jquery_keyevent_polyfill_test\Hook
View source
class JqueryKeyeventPolyfillTestHooks {
    
    /**
     * Implements hook_library_info_alter().
     */
    public function libraryInfoAlter(&$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.