LocatorInterface
Magento\Catalog\Model\Locator\LocatorInterface
What it does
This interface defines a contract for locating and accessing product-related context information in Magento 2.
Developers use implementations of this interface when working with product forms and UI components to retrieve the current product being edited, its store context, associated website IDs, and base currency code.
It's commonly used in product data providers, modifiers, and custom form components.
Public Methods
- getProduct()
- getStore()
- getWebsiteIds()
- getBaseCurrencyCode()