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
framework
View
DesignLoader.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View
;
7
8
class
DesignLoader
9
{
15
protected
$_request
;
16
22
protected
$_areaList
;
23
29
protected
$appState
;
30
36
public
function
__construct
(
37
\
Magento
\Framework\
App
\RequestInterface
$request
,
38
\
Magento
\Framework\
App
\AreaList $areaList,
39
\
Magento
\Framework\
App
\
State
$appState
40
) {
41
$this->_request =
$request
;
42
$this->_areaList = $areaList;
43
$this->appState =
$appState
;
44
}
45
51
public
function
load
()
52
{
53
$area = $this->_areaList->getArea($this->appState->getAreaCode());
54
$area->load(\
Magento
\Framework\
App
\Area::PART_DESIGN);
55
$area->load(\
Magento
\Framework\
App
\Area::PART_TRANSLATE);
56
$area->detectDesign($this->_request);
57
}
58
}
Magento\Framework\App
Magento\Framework\View\DesignLoader\$_request
$_request
Definition:
DesignLoader.php:15
Magento\Framework\View\DesignLoader
Definition:
DesignLoader.php:8
Magento\Framework\App\State
Definition:
State.php:17
Magento\Framework\View\DesignLoader\__construct
__construct(\Magento\Framework\App\RequestInterface $request, \Magento\Framework\App\AreaList $areaList, \Magento\Framework\App\State $appState)
Definition:
DesignLoader.php:36
Magento
$request
$request
Definition:
quote_with_configurable_product_last_variation.php:22
Magento\Framework\View\DesignLoader\$_areaList
$_areaList
Definition:
DesignLoader.php:22
Magento\Framework\View\DesignLoader\$appState
$appState
Definition:
DesignLoader.php:29
Magento\Framework\View
Magento\Framework\View\DesignLoader\load
load()
Definition:
DesignLoader.php:51