LockValidatorInterface
Magento\Catalog\Model\Attribute\LockValidatorInterface
What it does
This interface defines a contract for validating whether a catalog attribute is locked and can be modified.
Developers implement this interface to create validators that check if an attribute's lock state allows operations like editing or deletion, throwing an exception if the attribute is locked.
It's commonly used in attribute management operations to prevent modifications to system-critical or protected attributes.
Public Methods
- validate()