AbstractMethod
Magento\Dhl\Model\Source\Method\AbstractMethod
What it does
This abstract class serves as a base for DHL shipping method source models that populate dropdown options in the Magento admin configuration.
Developers extend this class to create specific DHL method selectors (like domestic or international shipping) by setting the content type and whether to show a 'None' option.
It retrieves available DHL products from the carrier model and formats them as option arrays for admin forms.
Public Methods
- toOptionArray()