JqueryKeyeventPolyfillTestHooks.php
Namespace
Drupal\jquery_keyevent_polyfill_test\HookFile
-
core/
modules/ system/ tests/ modules/ jquery_keyevent_polyfill_test/ src/ Hook/ JqueryKeyeventPolyfillTestHooks.php
View source
<?php
declare (strict_types=1);
namespace Drupal\jquery_keyevent_polyfill_test\Hook;
use Drupal\Core\Hook\Attribute\Hook;
/**
* Hook implementations for jquery_keyevent_polyfill_test.
*/
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';
}
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
JqueryKeyeventPolyfillTestHooks | Hook implementations for jquery_keyevent_polyfill_test. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.