Skip to content

Instantly share code, notes, and snippets.

@kweij
Last active June 13, 2023 09:56
Show Gist options
  • Save kweij/7ab0a7f9e12f3b5e02e2f21a013200f7 to your computer and use it in GitHub Desktop.
Save kweij/7ab0a7f9e12f3b5e02e2f21a013200f7 to your computer and use it in GitHub Desktop.
Magento test text block
<?xml version="1.0"?>
<!--
/**
* See LICENSE.txt for copyright and license details.
* @license proprietary
*/
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="content">
<block class="Magento\Framework\View\Element\Text" name="test-1">
<arguments><argument name="text" xsi:type="string">TEST</argument></arguments>
</block>
</referenceContainer>
</body>
</page>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment