Log in
Model

TemplateTypes

Magento\PageBuilder\Model\Template\Source\TemplateTypes

What it does

This class provides a list of available Page Builder template types as option array data, typically used to populate dropdown or select fields in the admin panel.

Developers would use this when building forms or UI components that need to display template type options for Page Builder content configuration.

Public Methods

  • toOptionArray()