Skip to content
This repository was archived by the owner on Apr 29, 2019. It is now read-only.

Commit 76dfaf9

Browse files
committed
MAGETWO-81188: Make block class not mandatory
- overriding default block class in backend
1 parent a5da423 commit 76dfaf9

File tree

1 file changed

+5
-0
lines changed
  • app/code/Magento/Backend/etc/adminhtml

1 file changed

+5
-0
lines changed

app/code/Magento/Backend/etc/adminhtml/di.xml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,4 +147,9 @@
147147
</argument>
148148
</arguments>
149149
</type>
150+
<type name="Magento\Framework\View\Layout\Generator\Block">
151+
<arguments>
152+
<argument name="defaultClass" xsi:type="string">Magento\Backend\Block\Template</argument>
153+
</arguments>
154+
</type>
150155
</config>

0 commit comments

Comments
 (0)