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

18 lines
364 B
PHP
Raw Normal View History

2017-05-31 15:24:46 +03:00
<?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();
2018-03-12 16:34:48 +03:00
// Validations
2017-05-31 15:24:46 +03:00
$this->setValue($exceptions);
return parent::beforeSave();
}
2018-03-12 16:34:48 +03:00
}