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-shipping
Model
Config
Source
Online
Mode.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Shipping\Model\Config\Source\Online
;
7
8
use
Magento\Framework\Data\OptionSourceInterface
;
9
13
class
Mode
implements
OptionSourceInterface
14
{
20
public
function
toOptionArray
()
21
{
22
return
[
23
[
'value'
=>
'0'
,
'label'
=>
__
(
'Development'
)],
24
[
'value'
=>
'1'
,
'label'
=>
__
(
'Live'
)]
25
];
26
}
27
}
__
__()
Definition:
__.php:13
Magento\Shipping\Model\Config\Source\Online\Mode
Definition:
Mode.php:13
Magento\Shipping\Model\Config\Source\Online\Mode\toOptionArray
toOptionArray()
Definition:
Mode.php:20
Magento\Framework\Data\OptionSourceInterface
Definition:
OptionSourceInterface.php:14
Magento\Shipping\Model\Config\Source\Online
Definition:
Mode.php:6