Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
FilterableOptions.php
Go to the documentation of this file.
1 <?php
7 
13 {
17  public function toOptionArray()
18  {
19  return [
20  [
21  'value' => 0,
22  'label' => __('No'),
23  ],
24  [
25  'value' => 1,
26  'label' => __('Filterable (with results)'),
27  ],
28  [
29  'value' => 2,
30  'label' => __('Filterable (no results)'),
31  ],
32  ];
33  }
34 }
__()
Definition: __.php:13