Created
October 31, 2018 14:53
-
-
Save 6ui11em/f31e736f023e3b17c083903650968b7a to your computer and use it in GitHub Desktop.
Magento 2 get config value #magento2 #config #core_config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Constructor */ | |
\Magento\Framework\App\Config\ScopeConfigInterface $scopeConfig | |
$this->scopeConfig = $scopeConfig | |
/* Use */ | |
$this->scopeConfig->getValue('dev/debug/template_hints', \Magento\Store\Model\ScopeInterface::SCOPE_STORE); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment