Magento 2:从布局XML中的系统配置中获取价值


9

如何从我在管理系统配置中设置的核心配置值中的页脚中获取模块链接标识符

<referenceBlock name="footer_links">
        <block class="Magento\Framework\View\Element\Html\Link\Current" name="storelocator-policy-link">
            <arguments >
                <argument ifconfig="googlemapsstorelocator/general/enable" name="label" xsi:type="string">Google Maps Store Locator</argument>
                <argument name="path" xsi:type="string">I need this value form the configuration settings</argument>
            </arguments>
        </block>
</referenceBlock> 

Answers:


By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.