1
0
mirror of synced 2024-11-29 00:25:30 +03:00
magento-module/Model/Setting/Status.php
Akolzin Dmitry 3b6430cf7d Refactoring
2018-04-28 11:59:43 +03:00

18 lines
363 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();
}
}