Log in
Interface

ConfigInterface

Magento\PageBuilder\Model\ConfigInterface

What it does

This interface defines the contract for accessing PageBuilder configuration data in Magento 2.

Developers use this to retrieve available content types, menu sections for the PageBuilder interface, and check if PageBuilder is enabled.

It's primarily used when building custom PageBuilder extensions or integrating with PageBuilder functionality.

Public Methods

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