src/Engine/CrudeSetupTrait/Actions.php
private function setFileAction()
    {
        array_push($this->actions, 'file');

        $this->addForm = array_diff($this->addForm, ['files']);
        $this->editForm = array_diff($this->addForm, ['files']);

        $this->setModelDefaults('files', []);
        $this->setColumnFormat('files', 'files');

        return $this;
    }
private function setFileAction()
    {
        array_push($this->actions, 'file');

        $this->addForm = array_diff($this->addForm, ['files']);
        $this->editForm = array_diff($this->addForm, ['files']);

        $this->setModelDefaults('files', []);
        $this->setColumnFormat('files', 'files');

        return $this;
    }
private function setFileAction ( ) { array_push ( $ this -> actions , 'file' ) ; $ this -> addForm = array_diff ( $ this -> addForm , [ 'files' ] ) ; $ this -> editForm = array_diff ( $ this -> addForm , [ 'files' ] ) ; $ this -> setModelDefaults ( 'files' , [ ] ) ; $ this -> setColumnFormat ( 'files' , 'files' ) ; return $ this ; }
Set 'file' action
Set file action