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-backend
Model
Translate
Inline
Config.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Backend\Model\Translate\Inline
;
7
13
class
Config
implements
\Magento\Framework\Translate\Inline\ConfigInterface
14
{
18
protected
$config
;
19
23
protected
$devHelper
;
24
29
public
function
__construct
(
30
\
Magento
\Backend\
App
\ConfigInterface
$config
,
31
\
Magento
\Developer\Helper\Data
$devHelper
32
) {
33
$this->config =
$config
;
34
$this->devHelper =
$devHelper
;
35
}
36
40
public
function
isActive
($scope =
null
)
41
{
42
return
$this->config->isSetFlag(
'dev/translate_inline/active_admin'
);
43
}
44
48
public
function
isDevAllowed
($scope =
null
)
49
{
50
return
$this->devHelper->isDevAllowed($scope);
51
}
52
}
Magento\Framework\App
Magento\Backend\Model\Translate\Inline
Definition:
Config.php:6
Magento\Backend\Model\Translate\Inline\Config\$devHelper
$devHelper
Definition:
Config.php:23
Magento\Backend\Model\Translate\Inline\Config\$config
$config
Definition:
Config.php:18
Magento\Backend\Model\Translate\Inline\Config\isDevAllowed
isDevAllowed($scope=null)
Definition:
Config.php:48
Magento\Backend\Model\Translate\Inline\Config\__construct
__construct(\Magento\Backend\App\ConfigInterface $config, \Magento\Developer\Helper\Data $devHelper)
Definition:
Config.php:29
Magento
Magento\Backend\Model\Translate\Inline\Config\isActive
isActive($scope=null)
Definition:
Config.php:40
Magento\Backend\Model\Translate\Inline\Config
Definition:
Config.php:13