Commit bbc98524 authored by alexpott's avatar alexpott

Issue #2555069 by ianthomas_uk, Mile23: Remove invocation of hook_html_head_alter()

parent c1c27f3c
......@@ -187,12 +187,7 @@ public function processAttachments(AttachmentsInterface $response) {
// Now we can process 'html_head', which contains both 'feed' and
// 'html_head_link'.
if (!empty($attached['html_head'])) {
$html_head = $this->processHtmlHead($attached['html_head']);
// Invoke hook_html_head_alter().
$this->moduleHandler->alter('html_head', $html_head);
// Store the result in $variables so it can be inserted into the
// placeholder.
$variables['head'] = $html_head;
$variables['head'] = $this->processHtmlHead($attached['html_head']);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment