I have extended product form functionality by using
product_form.xml in the added fieldset. now I have to hide that fieldset on a particular condition, like on module disable.
I know about the
modifierPool from there I can hide that field by putting a condition in.
But is there any way to do it in XML like
dependsOnConfig as we are using in menu.xml?