75 if (!$this->getTypeId()) {
76 throw new \Magento\Framework\Exception\LocalizedException(
77 __(
'The form type is invalid. Reset the type and try again.')
80 if (!$this->
getStoreId() && $this->getLabel()) {
84 return parent::beforeSave();
94 if (!$this->
hasData(
'labels')) {
110 return $this->
setData(
'labels', $labels);
135 if (!$this->hasStoreId()) {
136 $this->
setData(
'store_id', $this->_storeManager->getStore()->getId());
setData($key, $value=null)