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
Logo.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Paypal\Model\System\Config\Source
;
7
11
class
Logo
implements
\Magento\Framework\Option\ArrayInterface
12
{
16
protected
$_configFactory
;
17
21
public
function
__construct
(\
Magento
\Paypal\Model\ConfigFactory
$configFactory
)
22
{
23
$this->_configFactory =
$configFactory
;
24
}
25
29
public
function
toOptionArray
()
30
{
31
$result
= [
''
=>
__
(
'No Logo'
)];
32
$result
+= $this->_configFactory->create()->getAdditionalOptionsLogoTypes();
33
return
$result
;
34
}
35
}
$result
$result
Definition:
product_configurable_not_available_rollback.php:26
Magento\Paypal\Model\System\Config\Source
Definition:
BmlPosition.php:7
Magento\Paypal\Model\System\Config\Source\Logo
Definition:
Logo.php:11
Magento\Paypal\Model\System\Config\Source\Logo\toOptionArray
toOptionArray()
Definition:
Logo.php:29
__
__()
Definition:
__.php:13
Magento\Framework\Option\ArrayInterface
Definition:
ArrayInterface.php:11
Magento
$configFactory
$configFactory
Definition:
config_data.php:43
Magento\Paypal\Model\System\Config\Source\Logo\__construct
__construct(\Magento\Paypal\Model\ConfigFactory $configFactory)
Definition:
Logo.php:21
Magento\Paypal\Model\System\Config\Source\Logo\$_configFactory
$_configFactory
Definition:
Logo.php:16