Log in
Model

Config

Magento\PageBuilder\Model\Config

What it does

This class manages Page Builder's configuration data, providing access to menu sections, content types, and feature toggles.

Developers use it to check if Page Builder is enabled, retrieve available content types for the editor, and determine if content preview functionality is active.

It serves as the central configuration interface for Page Builder-related operations throughout the system.

Public Methods

  • getMenuSections()
  • getContentTypes()
  • isEnabled()
  • isContentPreviewEnabled()