23 class Attribute extends \Magento\Eav\Model\Entity\Attribute
53 $this->_website = $this->_storeManager->getWebsite(
$website);
64 if ($this->_website ===
null) {
65 $this->_website = $this->_storeManager->getWebsite();
78 $this->_eavConfig->clear();
79 return parent::afterSave();
89 $forms = $this->
getData(
'used_in_forms');
90 if ($forms ===
null) {
92 $this->
setData(
'used_in_forms', $forms);
139 $scopeKey = sprintf(
'scope_%s', $key);
140 if ($this->
getData($scopeKey) !==
null) {
141 return $this->
getData($scopeKey);
195 $this->_eavConfig->clear();
196 return parent::afterDelete();
elseif(isset( $params[ 'redirect_parent']))
getData($key='', $index=null)
setData($key, $value=null)