ConvertSwatchAttributeFrontendInput
Magento\Swatches\Model\ConvertSwatchAttributeFrontendInput
What it does
This class converts frontend input type identifiers for swatch attributes into their internal representation.
Developers use this when processing attribute data to normalize swatch types (visual, text, or dropdown) by converting them to 'select' input type while preserving the specific swatch type in a separate field.
It's typically used during attribute creation or update operations to ensure proper storage format.
Public Methods
- execute()