Details
-
Type: Improvement
-
Status: Done/Fixed
-
Priority: Major
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7
-
Fix Version/s: 4.7.28
-
Component/s: None
-
Labels:
-
Versioning Impact:Patch (backwards-compatible bug fixes)
-
Documentation Required?:None
-
Funding Source:Needs Funding
-
Verified?:No
Description
When adding scripts or styles to the page footer, in Drupal 8 they appear in the html header instead, and in the wrong order.
\Drupal\civicrm\CivicrmPageState::addJS() and addCSS() functions do not accept a $region param and so do not know where to put the assets on the page, they always assume html-head.