Merge pull request #14322 from AlainBenbassat/5.14
[civicrm-core.git] / CRM / Utils / System / Drupal8.php
index d34007e5478a70174d8439b8bbf5fec9c003b55c..e280a40ba76f7db806c9150250eb0b9ea299cbd4 100644 (file)
@@ -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';
   }
 
 }