adminhtml_integration_edit.xml 1.67 KB
<?xml version="1.0"?>
<!--
/**
 * Copyright © Magento, Inc. All rights reserved.
 * See COPYING.txt for license details.
 */
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <update handle="editor"/>
    <body>
        <referenceBlock name="integration_edit_tabs">
            <block class="Magento\Integration\Block\Adminhtml\Integration\Edit\Tab\Webapi" name="integration_edit_tab_webapi" template="Magento_Integration::resourcetree.phtml"/>
            <action method="addTabAfter">
                <argument name="name" xsi:type="string">api_section</argument>
                <argument name="block" xsi:type="string">integration_edit_tab_webapi</argument>
                <argument name="after" xsi:type="string">info_section</argument>
            </action>
            <block class="Magento\Integration\Block\Adminhtml\Integration\Activate\Permissions\Tab\Webapi" name="integration_config_edit_tab_webapi" template="Magento_Integration::integration/activate/permissions/tab/webapi.phtml"/>
            <action method="addTabAfter">
                <argument name="name" xsi:type="string">api_config_section</argument>
                <argument name="block" xsi:type="string">integration_config_edit_tab_webapi</argument>
                <argument name="after" xsi:type="string">api_section</argument>
            </action>
        </referenceBlock>
        <referenceContainer name="js">
            <block class="Magento\Backend\Block\Template" name="adminhtml.integration.webapi.tree.js" template="Magento_User::user/roles_grid_js.phtml"/>
        </referenceContainer>
    </body>
</page>