magento_find_preference
Retrieves which concrete class implements an interface or replaces another class via di.xml preference overrides.
Instructions
Find DI preference overrides — which concrete class implements an interface or replaces another class via di.xml. See also: magento_find_class (implementation details), magento_find_config with configType=di.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| interfaceName | Yes | Interface or class name to find preference/implementation for. Examples: "ProductRepositoryInterface", "StoreManagerInterface", "LoggerInterface", "OrderRepositoryInterface", "CustomerRepositoryInterface" |