Model
Template
Magento\Email\Model\ResourceModel\Template
What it does
This is a resource model for managing email templates in the database.
Developers use this class to perform database operations on email templates, such as checking if a template code is already in use, retrieving system configuration for templates, and handling template saves.
It serves as the data layer between the Email Template model and the database.
Public Methods
- checkCodeUsage()
- getSystemConfigByPathsAndTemplateId()