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

        $this->addForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);
        $this->editForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);

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

        $this->addForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);
        $this->editForm = array_diff($this->addForm, ['map_lat', 'map_lng', 'map_address', 'map_province', 'map_locality', 'map_postal_code']);

        return $this;
    }
private function setMapAction ( ) { array_push ( $ this -> actions , 'map' ) ; $ this -> addForm = array_diff ( $ this -> addForm , [ 'map_lat' , 'map_lng' , 'map_address' , 'map_province' , 'map_locality' , 'map_postal_code' ] ) ; $ this -> editForm = array_diff ( $ this -> addForm , [ 'map_lat' , 'map_lng' , 'map_address' , 'map_province' , 'map_locality' , 'map_postal_code' ] ) ; return $ this ; }
Set 'map' action
Set map action