Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Config.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Ui\Model;
7 
10 
11 class Config
12 {
16  const WYSIWYG_EDITOR_CONFIG_PATH = 'cms/wysiwyg/editor';
17 
21  const XML_PATH_LOGGING = 'dev/js/session_storage_logging';
22 
26  const XML_PATH_KEY = 'dev/js/session_storage_key';
27 
31  protected $scopeConfig;
32 
37  {
38  $this->scopeConfig = $scopeConfig;
39  }
40 
46  public function isLoggingEnabled()
47  {
48  return $this->scopeConfig->getValue(self::XML_PATH_LOGGING);
49  }
50 
56  public function getSessionStorageKey()
57  {
58  return $this->scopeConfig->getValue(self::XML_PATH_KEY);
59  }
60 }
const WYSIWYG_EDITOR_CONFIG_PATH
Definition: Config.php:16
__construct(ScopeConfigInterface $scopeConfig)
Definition: Config.php:36