Model
IsLoginAsCustomerEnabledForCustomerChain
Magento\LoginAsCustomerApi\Model\IsLoginAsCustomerEnabledForCustomerChain
What it does
This class acts as a chain of responsibility to determine if the 'Login as Customer' feature is enabled for a specific customer.
It executes multiple resolver checks in sequence, collecting error messages from any resolver that returns a disabled state, and returns a consolidated result indicating whether an admin user can log in as the specified customer.
Public Methods
- execute()