Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-tracker/view/frontend/layout/cms_page_view.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Smile Tracker layout on CMS page view
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Smile ElasticSuite to newer
 * versions in the future.
 *
 * @category  Smile
 * @package   Smile\ElasticsuiteTracker
 * @author    Romain RUAUD <romain.ruaud@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
-->
<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="Smile\ElasticsuiteTracker\Block\Variables\Page\Cms"
                   name="smile.tracker.page.cms"
                   ifconfig="smile_elasticsuite_tracker/general/enabled" />
        </referenceContainer>
    </body>
</page>