Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Basedon.php
Go to the documentation of this file.
1 <?php
7 
9 {
13  public function toOptionArray()
14  {
15  return [
16  ['value' => 'shipping', 'label' => __('Shipping Address')],
17  ['value' => 'billing', 'label' => __('Billing Address')],
18  ['value' => 'origin', 'label' => __("Shipping Origin")]
19  ];
20  }
21 }
__()
Definition: __.php:13