Log in
Model

GenericDefault

Magento\Shipping\Model\Carrier\Source\GenericDefault

What it does

This class serves as a default implementation for generic shipping carrier source models.

Developers can extend this class when creating custom shipping carriers that need to provide configuration options in the admin panel, though this base implementation returns an empty array.

It's primarily used as a placeholder or starting point for carrier-specific option sources.

Public Methods

  • toOptionArray()