Stack Exchange answer covering where Magento 2’s layout remove=“1” attribute tag is implemented. Short version – the block/container reader/scheduler classes look for it, and then tell the scheduler there’s an item to remove from the layout. Then, when the Generator pool builds out the structure. it asks the scheduler which tags should be removed, and removes them.
Magento 2’s remove Tag
astormFrustrated by Magento? Then you’ll love Commerce Bug, the must have debugging extension for anyone using Magento. Whether you’re just starting out or you’re a seasoned pro, Commerce Bug will save you and your team hours everyday. Grab a copy and start working with Magento instead of against it.
Updated for Magento 2! No Frills Magento Layout is the only Magento front end book you'll ever need. Get your copy today!
Programming Quickies
Quick dispatches from the life of a working programmer.