Log in
Model

ThemePackageInfo

Magento\Theme\Model\Theme\ThemePackageInfo

What it does

This class provides bidirectional mapping between theme package names (from composer.json) and their full theme paths in Magento.

Developers use it to resolve a theme's composer package name to its registered path, or vice versa, which is essential for theme installation, updates, and dependency management.

Public Methods

  • getPackageName()
  • getFullThemePath()