Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
 
 
 
 
 
 

39 řádky
1.7 KiB

  1. <?xml version="1.0"?>
  2. <!--
  3. /**
  4. * Copyright © Magento, Inc. All rights reserved.
  5. * See COPYING.txt for license details.
  6. */
  7. -->
  8. <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  9. xsi:noNamespaceSchemaLocation="urn:magento:framework:ObjectManager/etc/config.xsd">
  10. <type name="Magento\Customer\CustomerData\SectionPoolInterface">
  11. <arguments>
  12. <argument name="sectionSourceMap" xsi:type="array">
  13. <item name="messages" xsi:type="string">Magento\Theme\CustomerData\Messages</item>
  14. </argument>
  15. </arguments>
  16. </type>
  17. <type name="Magento\Framework\View\Element\Message\MessageConfigurationsPool">
  18. <arguments>
  19. <argument name="configurationsMap" xsi:type="array">
  20. <item name="default_message_identifier" xsi:type="array">
  21. <item name="renderer" xsi:type="const">\Magento\Framework\View\Element\Message\Renderer\EscapeRenderer::CODE</item>
  22. </item>
  23. </argument>
  24. </arguments>
  25. </type>
  26. <type name="Magento\Framework\Controller\ResultInterface">
  27. <plugin name="result-messages" type="Magento\Theme\Controller\Result\MessagePlugin"/>
  28. </type>
  29. <type name="Magento\Framework\View\Result\Layout">
  30. <plugin name="asyncCssLoad" type="Magento\Theme\Controller\Result\AsyncCssPlugin" sortOrder="-20" />
  31. <plugin name="deferJsToFooter" type="Magento\Theme\Controller\Result\JsFooterPlugin" sortOrder="-10" />
  32. </type>
  33. <type name="Magento\Theme\Block\Html\Header\CriticalCss">
  34. <arguments>
  35. <argument name="filePath" xsi:type="string">css/critical.css</argument>
  36. </arguments>
  37. </type>
  38. </config>