A package for patching magento 2 block class to support ifconfig for remove handler
Magento 2 Core Block Function Modify, (*1)
Magento 2 does not support ifconfig for referenceBlock's remove handler in default, (*2)
``` bash composer require siyu/magento-2-core-block-patch:dev-master ./bin/magento module:enable Siyu_BlockPatch ./bin/magento setup:upgrade ./bin/magento setup:di:compile, (*3)
## Uninstall ``` bash ./bin/magento module:disable Siyu_BlockPatch --clear-static-content composer remove siyu/magento-2-core-block-patch ./bin/magento setup:di:compile
Sources Download
MIT