Log in
Model

Generic

Magento\Dhl\Model\Source\Method\Generic

What it does

This class provides a generic base for generating option arrays for DHL shipping method configuration fields in the Magento admin panel.

Developers use this to populate dropdown or multiselect fields with available DHL shipping options retrieved from the DHL carrier configuration, making it easier to configure which DHL methods are available in the store.

Public Methods

  • toOptionArray()