48 private $elementVisibility;
68 if (
false == array_key_exists(
$code, $this->_data)) {
84 $this->_scope = $scope;
104 return isset($this->_data[
'id']) ? $this->_data[
'id'] :
'';
134 return isset($this->_data[
'frontend_model']) ? $this->_data[
'frontend_model'] :
'';
145 return array_key_exists($key, $this->_data) ? $this->_data[$key] :
null;
159 if (isset($this->_data[
'if_module_enabled']) &&
160 !$this->moduleManager->isOutputEnabled($this->_data[
'if_module_enabled'])) {
169 if ($this->_storeManager->isSingleStoreMode()) {
174 return !empty($showInScope[$this->_scope]);
185 return isset($this->_data[$key]) && $this->_data[$key];
195 return isset($this->_data[
'class']) ? $this->_data[
'class'] :
'';
207 $path = isset($this->_data[
'path']) ? $this->_data[
'path'] :
'';
233 if (
null === $this->elementVisibility) {
237 return $this->elementVisibility;
setData(array $data, $scope)
_hasVisibilityValue($key)
__construct(StoreManagerInterface $storeManager, \Magento\Framework\Module\Manager $moduleManager)
_getTranslatedAttribute($code)
_getPath($fieldId, $fieldPrefix='')