Model
Plugin
Magento\ConfigurableProduct\Model\Product\Validator\Plugin
What it does
This plugin intercepts the product validation process specifically for configurable products in Magento 2.
It ensures that when creating or editing configurable products with variations, both the parent product and its child variations are properly validated, checking required attributes and collecting validation errors for display in the admin interface.
Public Methods
- beforeValidate()
- afterValidate()