Collection
Template\Collection
Magento\Email\Model\ResourceModel\Template\Collection
What it does
This collection class manages groups of email templates in Magento 2.
Developers use it to retrieve, filter, and manipulate multiple email templates from the database, such as when displaying a list of available templates in the admin panel or populating dropdown menus with template options.
Public Methods
- _construct()
- toOptionArray()