1
0
mirror of synced 2024-11-29 08:26:09 +03:00
magento-module/Model/Setting/Status.php
Alex Lushpai f4000c9874 v2.0
2017-05-31 15:24:46 +03:00

20 lines
374 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();
}
}