Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Freemethod.php
Go to the documentation of this file.
1 <?php
7 
11 class Freemethod extends Method
12 {
16  public function toOptionArray()
17  {
18  $options = parent::toOptionArray();
19 
20  array_unshift($options, ['value' => '', 'label' => __('None')]);
21  return $options;
22  }
23 }
__()
Definition: __.php:13