Log in
Model

AttributesList

Magento\Swatches\Model\AttributesList

What it does

This class retrieves and formats product attribute information for configurable products, specifically focusing on swatch attributes.

Developers use it to get attribute details including options and whether new options can be created, which is particularly useful when building product configuration interfaces or managing swatch-based product variations.

Public Methods

  • getAttributes()