Model
Template
Magento\PageBuilder\Model\Template
What it does
This model represents a saved Page Builder template that users can create and reuse in the Template Manager.
Developers use this class to programmatically access or manipulate stored templates, including their names, preview images, content, and metadata like creation dates.
It provides getter and setter methods for all template properties and supports extension attributes for customization.
Public Methods
- getName()
- setName()
- getPreviewImage()
- setPreviewImage()
- getPreviewThumbnailImage()
- getTemplate()
- setTemplate()
- getCreatedFor()
- setCreatedFor()
- getUpdatedAt()
- setUpdatedAt()
- getCreatedAt()
- setCreatedAt()
- getExtensionAttributes()
- setExtensionAttributes()