Log in
Model

Label

Magento\Theme\Model\Design\Theme\Label

What it does

This class provides theme label collections for dropdown menus and selection lists in the Magento admin panel.

Developers use it when building UI components that need to display available themes, with an option to include an empty/default selection at the beginning of the list.

It extends the framework's base Label class and adds functionality to prepend a custom label option.

Public Methods

  • getLabelsCollection()