_customtabs = $customtabs; parent::__construct($context, $registry, $config, $cacheTypeList, $resource, $resourceCollection, $data); } /** * Process data after load * * @return void */ protected function _afterLoad() { $value = $this->getValue(); $arr = unserialize($value); $this->setValue($arr); } /** * Prepare data before save * * @return void */ public function beforeSave() { $value = $this->getValue(); unset($value['__empty']); $arr = serialize($value); $this->setValue($arr); } }