Admin\Record\CategoryRecord::onBeforeStore PHP Method

onBeforeStore() public method

onBeforeStore
public onBeforeStore ( Windwalker\Event\Event $event ) : void
$event Windwalker\Event\Event
return void
    public function onBeforeStore(Event $event)
    {
        if ($this->params && !is_string($this->params)) {
            $this->params = json_encode($this->params);
        }
    }