Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
WeightUnit.php
Go to the documentation of this file.
1 <?php
7 
15 {
19  public function toOptionArray()
20  {
21  return [['value' => 'lbs', 'label' => __('lbs')], ['value' => 'kgs', 'label' => __('kgs')]];
22  }
23 }
__()
Definition: __.php:13