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-theme
Model
Theme
Customization
Config.php
Go to the documentation of this file.
1
<?php
10
namespace
Magento\Theme\Model\Theme\Customization
;
11
12
class
Config
implements
\Magento\Framework\View\Design\Theme\Customization\ConfigInterface
13
{
17
const
XML_PATH_CUSTOM_FILES
=
'theme/customization'
;
18
22
protected
$config
;
23
27
public
function
__construct
(\
Magento
\Framework\
App
\
Config
\
ScopeConfigInterface
$config
)
28
{
29
$this->config =
$config
;
30
}
31
35
public
function
getFileTypes
()
36
{
37
$types = [];
38
$convertNode = $this->config->getValue(self::XML_PATH_CUSTOM_FILES,
'default'
);
39
if
($convertNode) {
40
foreach
($convertNode as
$name
=>
$value
) {
41
$types[
$name
] =
$value
;
42
}
43
}
44
return
$types;
45
}
46
}
Magento\Framework\App
Magento\Theme\Model\Theme\Customization\Config\getFileTypes
getFileTypes()
Definition:
Config.php:35
Magento\Theme\Model\Theme\Customization\Config\$config
$config
Definition:
Config.php:22
Magento\Theme\Model\Theme\Customization\Config\__construct
__construct(\Magento\Framework\App\Config\ScopeConfigInterface $config)
Definition:
Config.php:27
$value
$value
Definition:
gender.phtml:16
Magento\Theme\Model\Theme\Customization\Config\XML_PATH_CUSTOM_FILES
const XML_PATH_CUSTOM_FILES
Definition:
Config.php:17
Magento\Theme\Model\Theme\Customization\Config
Definition:
Config.php:12
Magento
Magento\Theme\Model\Theme\Customization
Definition:
Config.php:10
Magento\Framework\App\Config\ScopeConfigInterface
Definition:
ScopeConfigInterface.php:15
$name
if(!isset($_GET['name'])) $name
Definition:
log.php:14