diff --git a/core/modules/system/theme.api.php b/core/modules/system/theme.api.php index eef4f5c..c2ac9a9 100644 --- a/core/modules/system/theme.api.php +++ b/core/modules/system/theme.api.php @@ -848,10 +848,10 @@ function hook_js_settings_alter(array &$settings, \Drupal\Core\Asset\AttachedAss * @param $libraries * The JavaScript/CSS libraries provided by $module. Keyed by internal library * name and passed by reference. - * @param $module - * The name of the module that registered the libraries. + * @param $extension + * The name of the extension that registered a library. */ -function hook_library_info_alter(&$libraries, $module) { +function hook_library_info_alter(&$libraries, $extension) { // Update Farbtastic to version 2.0. if ($module == 'core' && isset($libraries['jquery.farbtastic'])) { // Verify existing version is older than the one we are updating to.