protected function makeFilterBlueprint()
    {
        return new Blueprint(self::FILTER_CLASS, [
            new SimpleValueAsField('name'),
            new CustomMapping('type', function ($type, Scaffold $s) {
                switch($type) {
                    case 'select':
                        $s->class = 'Nayjest\Grids\SelectFilterConfig';
                        break;
                    default:
                        break;
                }
            }, null, Instruction::PHASE_PRE_INST),
            new Rename(0,'name'),
            new Rename(1,'operator'),
        ]);
    }
protected function makeFilterBlueprint()
    {
        return new Blueprint(self::FILTER_CLASS, [
            new SimpleValueAsField('name'),
            new CustomMapping('type', function ($type, Scaffold $s) {
                switch($type) {
                    case 'select':
                        $s->class = 'Nayjest\Grids\SelectFilterConfig';
                        break;
                    default:
                        break;
                }
            }, null, Instruction::PHASE_PRE_INST),
            new Rename(0,'name'),
            new Rename(1,'operator'),
        ]);
    }
protected function makeFilterBlueprint ( ) { return new Blueprint ( self :: FILTER_CLASS , [ new SimpleValueAsField ( 'name' ) , new CustomMapping ( 'type' , function ( $ type , Scaffold $ s ) { switch ( $ type ) { case 'select' : $ s -> class = 'Nayjest\Grids\SelectFilterConfig' ; break ; default : break ; } } , null , Instruction :: PHASE_PRE_INST ) , new Rename ( 0 , 'name' ) , new Rename ( 1 , 'operator' ) , ] ) ; }
Creates blueprint for filters.

@return Blueprint
Creates blueprint for filters .