1
0
mirror of synced 2024-11-25 06:26:07 +03:00
magento-module/Model/Setting/Status.php
2018-03-12 16:34:48 +03:00

18 lines
364 B
PHP

<?php
namespace Retailcrm\Retailcrm\Model\Setting;
class Status extends \Magento\Config\Model\Config\Backend\Serialized\ArraySerialized
{
public function beforeSave()
{
// For value validations
$exceptions = $this->getValue();
// Validations
$this->setValue($exceptions);
return parent::beforeSave();
}
}