Log in
Interface

IsSingleSourceModeInterface

Magento\InventoryCatalogApi\Model\IsSingleSourceModeInterface

What it does

This interface defines a service that determines whether Magento is running in single-source inventory mode or multi-source inventory (MSI) mode.

Developers use this to check if the system has only one enabled inventory source configured, which affects how inventory management features and UI elements should behave throughout the application.

Public Methods

  • execute()