X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FUtils%2FSystem%2FDrupal8.php;h=e280a40ba76f7db806c9150250eb0b9ea299cbd4;hb=85265311ed16f2a6bdd26bc7c60903dc2cd903c7;hp=d34007e5478a70174d8439b8bbf5fec9c003b55c;hpb=a6491ceec03e64e45e127222ae268187c652f5b7;p=civicrm-core.git diff --git a/CRM/Utils/System/Drupal8.php b/CRM/Utils/System/Drupal8.php index d34007e547..e280a40ba7 100644 --- a/CRM/Utils/System/Drupal8.php +++ b/CRM/Utils/System/Drupal8.php @@ -667,10 +667,10 @@ class CRM_Utils_System_Drupal8 extends CRM_Utils_System_DrupalBase { /** * Append Drupal8 js to coreResourcesList. * - * @param array $list + * @param \Civi\Core\Event\GenericHookEvent $e */ - public function appendCoreResources(&$list) { - $list[] = 'js/crm.drupal8.js'; + public function appendCoreResources(\Civi\Core\Event\GenericHookEvent $e) { + $e->list[] = 'js/crm.drupal8.js'; } }