0

I am adding new tab in user role

I added new label but I am facing with this code

            <block class="Magento\Backend\Block\Widget\Tab" name="adminhtml.user.tab.amrolepermissions.products">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Advanced: Products</argument>
                    <argument name="class" xsi:type="string">ajax</argument>
                    <argument name="url" xsi:type="url" path="amasty_rolepermissions/product/allowed">
                        <param name="_current">1</param>
                    </argument>
                </arguments>
            </block>

I can't understand this code

                    <argument name="url" xsi:type="url" path="amasty_rolepermissions/product/allowed">
                        <param name="_current">1</param>
                    </argument>

How can I analysis this url ?

Hope your help

Thanks

1
  • it means Allowed.php at path Amasty/Rolepermissions/Controller/Adminhtml/Product.
    – Pawan
    Jun 1 at 7:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.