Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Catalog.php
Go to the documentation of this file.
1 <?php
7 
9 {
13  public function toOptionArray()
14  {
15  return [
16  ['value' => 0, 'label' => __('No (price without tax)')],
17  ['value' => 1, 'label' => __('Yes (only price with tax)')],
18  ['value' => 2, 'label' => __("Both (without and with tax)")]
19  ];
20  }
21 }
__()
Definition: __.php:13