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
Element
Js
Components.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Framework\View\Element\Js
;
7
8
use
Magento\Framework\App\State
;
9
use
Magento\Framework\View\Element\Template
;
10
15
class
Components
extends
Template
16
{
22
public
function
isDeveloperMode
()
23
{
24
return
$this->_appState->getMode() ==
State::MODE_DEVELOPER
;
25
}
26
}
Magento\Framework\View\Element\Template
Definition:
Context.php:6
Magento\Framework\View\Element\Js
Definition:
Components.php:6
Magento\Framework\App\State\MODE_DEVELOPER
const MODE_DEVELOPER
Definition:
State.php:74
Magento\Framework\View\Element\Js\Components
Definition:
Components.php:15
Magento\Framework\App\State
Definition:
CleanupFiles.php:7
Magento\Framework\View\Element\Template
Definition:
Template.php:32
Magento\Framework\View\Element\Js\Components\isDeveloperMode
isDeveloperMode()
Definition:
Components.php:22