Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Contenttype.php
Go to the documentation of this file.
1 <?php
7 
12 {
16  public function toOptionArray()
17  {
18  return [
19  ['label' => __('Documents'), 'value' => \Magento\Dhl\Model\Carrier::DHL_CONTENT_TYPE_DOC],
20  ['label' => __('Non documents'), 'value' => \Magento\Dhl\Model\Carrier::DHL_CONTENT_TYPE_NON_DOC]
21  ];
22  }
23 }
__()
Definition: __.php:13