Definition at line 8 of file DesignLoader.php.
◆ __construct()
- Parameters
-
\Magento\Framework\App\RequestInterface | $request | |
\Magento\Framework\App\AreaList | $areaList | |
\Magento\Framework\App\State | $appState | |
Definition at line 36 of file DesignLoader.php.
42 $this->_areaList = $areaList;
◆ load()
Load design
- Returns
- void
Definition at line 51 of file DesignLoader.php.
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);
◆ $_areaList
◆ $_request
◆ $appState
The documentation for this class was generated from the following file: