IsWebsiteInMultiSourceMode
Magento\InventoryShippingAdminUi\Model\IsWebsiteInMultiSourceMode
What it does
This class determines whether a website is operating in Multi Source Inventory (MSI) mode by checking if its associated stock has more than one source assigned.
Developers use this to conditionally enable MSI-specific features in the shipping admin UI, such as source selection during order fulfillment.
It's particularly useful when building admin interfaces that need to adapt based on whether single or multiple inventory sources are being used.
Public Methods
- execute()