1
0
Fork 0
mirror of synced 2025-04-01 04:16:15 +03:00
magento-module/src/Model/Setting/Status.php
Akolzin Dmitry 0e40ad1b5f Tests, travis
Src directory
2018-05-04 16:27:45 +03:00

17 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();
}
}