Smile-SA/elasticsuite

View on GitHub
src/module-elasticsuite-indices/etc/adminhtml/menu.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<!--
/**
 * Smile_ElasticSuiteIndices menu configuration
 *
 * 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\ElasticsuiteIndices
 * @author    Dmytro ANDROSHCHUK <dmand@smile.fr>
 * @copyright 2020 Smile
 * @license   Open Software License ("OSL") v. 3.0
 */
-->
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Backend:etc/menu.xsd">
    <menu>
        <add id="Smile_ElasticsuiteIndices::system"
             title="System"
             module="Smile_ElasticsuiteIndices"
             sortOrder="90"
             parent="Smile_ElasticsuiteCore::elasticsuite_menu"
             resource="Smile_ElasticsuiteIndices::system"
        />
        <add
            id="Smile_ElasticsuiteIndices::manage"
            title="Indices"
            module="Smile_ElasticsuiteIndices"
            sortOrder="10"
            parent="Smile_ElasticsuiteIndices::system"
            action="smile_elasticsuite_indices/index/index"
            resource="Smile_ElasticsuiteIndices::manage"
        />
        <add
            id="Smile_ElasticsuiteIndices::analysis"
            title="Analysis"
            module="Smile_ElasticsuiteIndices"
            sortOrder="20"
            parent="Smile_ElasticsuiteIndices::system"
            action="smile_elasticsuite_indices/analysis/index"
            resource="Smile_ElasticsuiteIndices::analysis"
        />
    </menu>
</config>