How to set ifconfig for move tag use in xml magento 2

by Kartik Asodariya   Last Updated November 15, 2017 06:09 AM

I have stuck the set configuration with ifconfig element for move tag. I was tried but no luck. you can see below code where i want to put ifconfig element:

<move element="catalog.leftnav" destination="catalog-leftnav-top" before = "-"/>

I just want to set condition when extension is disable from configuration than this move tag should not working.

if you have any alternate solution please provide to me. It will too much helpful for me and also others.

Thanks



Related Questions


How to set ifconfig for di.xml magento 2

Updated November 15, 2017 13:09 PM


Magento2: How to get config variable in block.php

Updated November 04, 2016 09:03 AM

Rewrite block declaration explanatation

Updated June 24, 2017 02:09 AM

Magento 2: Remove block conditionally in layout

Updated April 27, 2017 16:09 PM