Model
Config
Magento\Shipping\Model\Config
What it does
This class provides configuration and access to shipping carriers in Magento 2.
Developers use it to retrieve all registered shipping carriers or only active ones for a specific store, which is essential when building shipping functionality, checkout processes, or admin interfaces that need to display available shipping methods.
Public Methods
- getActiveCarriers()
- getAllCarriers()