Log in
Model

Customization

Magento\Theme\Model\Config\Customization

What it does

This class manages theme customizations and their assignment to store views in Magento 2.

Developers use it to determine which custom themes are active across different stores, identify unassigned themes, and check if a theme is currently in use before performing operations like deletion or modification.

Public Methods

  • getAssignedThemeCustomizations()
  • getUnassignedThemeCustomizations()
  • getStoresByThemes()
  • isThemeAssignedToStore()
  • hasThemeAssigned()