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-weee
Model
Config
Source
Display.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Weee\Model\Config\Source
;
7
8
class
Display
implements
\Magento\Framework\Option\ArrayInterface
9
{
15
public
function
toOptionArray
()
16
{
17
return
[
18
[
19
'value'
=>
\Magento\Weee\Model\Tax::DISPLAY_INCL
,
20
'label'
=>
__
(
'Including FPT only'
)
21
],
22
[
23
'value'
=>
\Magento\Weee\Model\Tax::DISPLAY_INCL_DESCR
,
24
'label'
=>
__
(
'Including FPT and FPT description'
)
25
],
26
[
27
'value'
=>
\Magento\Weee\Model\Tax::DISPLAY_EXCL_DESCR_INCL
,
28
'label'
=>
__
(
'Excluding FPT. Including FPT description and final price'
)
29
],
30
[
31
'value'
=>
\Magento\Weee\Model\Tax::DISPLAY_EXCL
,
32
'label'
=>
__
(
'Excluding FPT'
)
33
]
34
];
35
}
36
}
Magento\Weee\Model\Tax\DISPLAY_EXCL
const DISPLAY_EXCL
Definition:
Tax.php:40
Magento\Weee\Model\Config\Source
Definition:
Display.php:6
Magento\Weee\Model\Tax\DISPLAY_INCL_DESCR
const DISPLAY_INCL_DESCR
Definition:
Tax.php:30
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Weee\Model\Tax\DISPLAY_INCL
const DISPLAY_INCL
Definition:
Tax.php:25
Magento\Weee\Model\Tax\DISPLAY_EXCL_DESCR_INCL
const DISPLAY_EXCL_DESCR_INCL
Definition:
Tax.php:35
Magento\Weee\Model\Config\Source\Display\toOptionArray
toOptionArray()
Definition:
Display.php:15
Magento\Weee\Model\Config\Source\Display
Definition:
Display.php:8