·

undocumented

Source Models in Magento 2 and their configuration path

Hi there! Got Magento 2 open in your IDE? Good! Take a look at the <section id="sales_email">-node in the etc/adminhtml/system.xml of the Sales module. Notice anything… weird? Look at all the source models responsible for rendering e-mail templates. They all use the same source model: Magento\Config\Model\Config\Source\Email\Template. This might look weird at first. After all: when read further ...