Model
AttributeSetUnassignValidator
Magento\Catalog\Model\Product\Attribute\AttributeSetUnassignValidator
What it does
This class validates whether a product attribute can be unassigned from an attribute set.
Developers use this validator before removing an attribute from a set to ensure system-required attributes (like SKU or name) cannot be removed, preventing critical functionality from breaking.
Public Methods
- validate()