RegistryLocator
Magento\Catalog\Model\Locator\RegistryLocator
What it does
This class retrieves currently active product and store information from Magento's registry during product-related operations.
Developers use it primarily in product form UI components and data providers to access the current product being edited or viewed, along with its associated store context and website assignments.
It acts as a centralized locator service that prevents the need to repeatedly access the registry directly.
Public Methods
- getProduct()
- getStore()
- getWebsiteIds()
- getBaseCurrencyCode()