Log in
Model

InitialThemeSource

Magento\Theme\Model\Source\InitialThemeSource

What it does

This class retrieves theme configuration data from the database and formats it for use by Magento's configuration system.

Developers would use this when they need to access theme information (like theme path, title, area, parent theme) during application initialization or when the database is being set up.

It implements ConfigSourceInterface to provide theme data in a structured format indexed by theme path.

Public Methods

  • get()