Skip to content

Commit c6d672e

Browse files
authored
Update Renderer.php
1 parent 09c80c7 commit c6d672e

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

lib/internal/Magento/Framework/View/Page/Config/Renderer.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,21 @@ public function renderHeadContent()
134134
$result .= $this->renderMetadata();
135135
$result .= $this->renderTitle();
136136
$this->prepareFavicon();
137+
return $result;
138+
}
139+
140+
/**
141+
* Render head assets
142+
*
143+
* @return string
144+
*/
145+
public function renderHeadAssets()
146+
{
147+
$result = '';
137148
$result .= $this->renderAssets($this->getAvailableResultGroups());
138149
$result .= $this->pageConfig->getIncludes();
139150
return $result;
140151
}
141-
142152
/**
143153
* Render title
144154
*

0 commit comments

Comments
 (0)