Answers for "get system configuration mageto 2"

0

get system configuration mageto 2

public function getConfig($config_path)
{
    return $this->scopeConfig->getValue(
            $config_path,
            \Magento\Store\Model\ScopeInterface::SCOPE_STORE
            );
}
Posted by: Guest on June-02-2021

Browse Popular Code Answers by Language