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) : void {
        if ($module == 'core' && isset($libraries['jquery'])) {
            $libraries['jquery']['dependencies'][] = 'jquery_keyevent_polyfill_test/jquery.keyevent.polyfill';
        }
    }

}

Members

Title Sort descending Modifiers Object type Summary
JqueryKeyeventPolyfillTestHooks::libraryInfoAlter public function Implements hook_library_info_alter().

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.