Model
Contenttype
Magento\Dhl\Model\Source\Contenttype
What it does
This source model provides content type options for DHL shipments in Magento's admin configuration.
Developers use this class to populate dropdown menus where administrators can select whether a shipment contains documents or non-documents, which affects DHL shipping rates and customs handling.
Public Methods
- toOptionArray()