Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-layered-navigation
Model
Attribute
Source
FilterableOptions.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\LayeredNavigation\Model\Attribute\Source
;
7
12
class
FilterableOptions
implements
\Magento\Framework\Data\OptionSourceInterface
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
}
Magento\LayeredNavigation\Model\Attribute\Source\FilterableOptions\toOptionArray
toOptionArray()
Definition:
FilterableOptions.php:17
__
__()
Definition:
__.php:13
Magento\LayeredNavigation\Model\Attribute\Source\FilterableOptions
Definition:
FilterableOptions.php:12
Magento\Framework\Data\OptionSourceInterface
Definition:
OptionSourceInterface.php:14
Magento\LayeredNavigation\Model\Attribute\Source
Definition:
FilterableOptions.php:6