1
0
mirror of synced 2024-12-01 17:26:02 +03:00
magento-module/Model/Setting/Status.php

20 lines
374 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();
// Validations
$this->setValue($exceptions);
return parent::beforeSave();
}
}