Model

IsLoginAsCustomerEnabledResolver

Magento\LoginAsCustomer\Model\Resolver\IsLoginAsCustomerEnabledResolver

What it does

This resolver determines whether the Login as Customer feature is available for a specific customer.

Developers use this class to check if an admin user can log in to the frontend as a customer, returning any validation messages if the feature is disabled in the system configuration.

Public Methods

  • execute()