IsLoginAsCustomerEnabledForCustomerInterface
Magento\LoginAsCustomerApi\Api\IsLoginAsCustomerEnabledForCustomerInterface
What it does
This interface defines a contract for checking whether the Login as Customer feature is enabled for a specific customer.
Developers use this when they need to verify if an admin user can log in as a particular customer, typically before displaying UI elements or performing login-as-customer actions.
It returns a result object indicating whether the functionality is available for the given customer ID.
Public Methods
- execute()