Log in
Factory

ConfigFactory

Magento\Theme\Model\Data\Design\ConfigFactory

What it does

This factory class creates DesignConfigInterface objects that represent theme design configuration settings for different scopes (global, website, store).

Developers use this when programmatically managing theme design settings like headers, footers, and other design elements, ensuring proper scope validation and handling of single store mode scenarios.

Public Methods

  • create()