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
Source
HandlingAction.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Shipping\Model\Source
;
7
8
class
HandlingAction
implements
\Magento\Framework\Option\ArrayInterface
9
{
13
public
function
toOptionArray
()
14
{
15
return
[
16
[
17
'value'
=>
\Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_ACTION_PERORDER
,
18
'label'
=>
__
(
'Per Order'
),
19
],
20
[
21
'value'
=>
\Magento\Shipping\Model\Carrier\AbstractCarrier::HANDLING_ACTION_PERPACKAGE
,
22
'label'
=>
__
(
'Per Package'
)
23
]
24
];
25
}
26
}
Magento\Shipping\Model\Source\HandlingAction\toOptionArray
toOptionArray()
Definition:
HandlingAction.php:13
Magento\Shipping\Model\Carrier\AbstractCarrier\HANDLING_ACTION_PERPACKAGE
const HANDLING_ACTION_PERPACKAGE
Definition:
AbstractCarrier.php:74
Magento\Shipping\Model\Source
Definition:
HandlingAction.php:6
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Shipping\Model\Carrier\AbstractCarrier\HANDLING_ACTION_PERORDER
const HANDLING_ACTION_PERORDER
Definition:
AbstractCarrier.php:76
Magento\Shipping\Model\Source\HandlingAction
Definition:
HandlingAction.php:8