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-paypal
Model
System
Config
Source
Yesnoshortcut.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Model\System\Config\Source
;
7
11
class
Yesnoshortcut
implements
\Magento\Framework\Option\ArrayInterface
12
{
18
public
function
toOptionArray
()
19
{
20
return
[
21
[
'value'
=> 1,
'label'
=>
__
(
'Yes (PayPal recommends this option)'
)],
22
[
'value'
=> 0,
'label'
=>
__
(
'No'
)]
23
];
24
}
25
}
Magento\Paypal\Model\System\Config\Source
Definition:
BmlPosition.php:7
Magento\Paypal\Model\System\Config\Source\Yesnoshortcut
Definition:
Yesnoshortcut.php:11
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento\Paypal\Model\System\Config\Source\Yesnoshortcut\toOptionArray
toOptionArray()
Definition:
Yesnoshortcut.php:18