Skip to content

Commit 75cc0b4

Browse files
#29165: Add a head.additional block to adminhtml layout.
1 parent 336b463 commit 75cc0b4

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

app/code/Magento/Backend/view/adminhtml/layout/default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<body>
1818
<attribute name="id" value="html-body"/>
1919
<block name="require.js" class="Magento\Backend\Block\Page\RequireJs" template="Magento_Backend::page/js/require_js.phtml"/>
20-
<block class="Magento\Framework\View\Element\Text\ListText" name="head.additional"/>
20+
<block class="Magento\Framework\View\Element\Template" name="head.additional" template="Magento_Backend::page/container.phtml"/>
2121
<referenceContainer name="global.notices">
2222
<block class="Magento\Backend\Block\Page\Notices" name="global_notices" as="global_notices" template="Magento_Backend::page/notices.phtml"/>
2323
</referenceContainer>
@@ -71,7 +71,7 @@
7171
<argument name="bugreport_url" xsi:type="string">https://github.com/magento/magento2/issues</argument>
7272
</arguments>
7373
</block>
74-
74+
7575
</container>
7676
</container>
7777
</referenceContainer>
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<?php
2+
/**
3+
* Copyright © Magento, Inc. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
?>
7+
<?= $block->getChildHtml(); ?>

0 commit comments

Comments
 (0)