scopeConfig = $scopeConfig; $this->devHelper = $helper; } /** * @inheritdoc */ public function isActive($scope = null) { return $this->scopeConfig->isSetFlag( 'dev/translate_inline/active', \Magento\Store\Model\ScopeInterface::SCOPE_STORE, $scope ); } /** * @inheritdoc */ public function isDevAllowed($scope = null) { return $this->devHelper->isDevAllowed($scope); } }