I didn’t realize this until today, but Magento 2 has completely ripped out the class rewrite system, and replaced it with a new dependency injection system. You can still rewrite a class, but instead of setting up a rewrites node (as you would in earlier versions of Magento 2) you setup a <preferences/>
node. According to the Application Framework wiki page, this node used to be named aliases
.
magento2 – Magento 1 Class Rewrite in Magento 2 with Dependency Injection System – Magento Stack Exchange
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.