Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Retrieve Configuration
- *
- * @param $field
- * @param null $storeId
- * @return mixed
- */
- public function getConfigValue($field, $storeId = null)
- {
- return $this->scopeConfig->getValue(
- $field, ScopeInterface::SCOPE_STORE, $storeId
- );
- }
- /**
- * Retrieve Configuration
- *
- * @param $code
- * @param null $storeId
- * @return mixed
- */
- public function getGeneralConfig($code, $storeId = null)
- {
- return $this->getConfigValue($code, $storeId);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement