protected function PageContext::populateHtmlHead in Acquia Lift Connector 8.3
Same name and namespace in other branches
- 8.4 src/Service/Context/PageContext.php \Drupal\acquia_lift\Service\Context\PageContext::populateHtmlHead()
Populate page's HTML head.
Parameters
&$html_head: The page's HTML head that is to be populated.
Overrides BaseContext::populateHtmlHead
File
- src/
Service/ Context/ PageContext.php, line 394
Class
Namespace
Drupal\acquia_lift\Service\ContextCode
protected function populateHtmlHead(&$htmlHead) {
parent::populateHtmlHead($htmlHead);
// Attach Lift's JavaScript.
$htmlHead[] = $this
->getJavaScriptTagRenderArray();
}