Model
DefaultSourceProvider
Magento\InventoryCatalog\Model\DefaultSourceProvider
What it does
This class provides the code identifier for Magento's default inventory source.
Developers use this service when they need to reference the default source in multi-source inventory operations, such as checking if a product is assigned to the default warehouse or when setting up initial inventory configurations.
Public Methods
- getCode()