src/FilterSetting/Perimetersearch.php
private function getSearchWidget(FrontendFilterOptions $frontendFilterOptions)
    {
        $widget = [
            'label'     => [
                ($this->get('label') ?: $this->getAttributeName()),
                'GET: ' . $this->getParamName(),
            ],
            'inputType' => 'text',
            'count'     => [],
            'showCount' => $frontendFilterOptions->isShowCountValues(),
            'eval'      => [
                'colname'     => $this->getColname(),
                'urlparam'    => $this->getParamName(),
                'template'    => $this->get('template'),
                'placeholder' => $this->get('placeholder')
            ]
        ];

        return $widget;
    }
private function getSearchWidget(FrontendFilterOptions $frontendFilterOptions)
    {
        $widget = [
            'label'     => [
                ($this->get('label') ?: $this->getAttributeName()),
                'GET: ' . $this->getParamName(),
            ],
            'inputType' => 'text',
            'count'     => [],
            'showCount' => $frontendFilterOptions->isShowCountValues(),
            'eval'      => [
                'colname'     => $this->getColname(),
                'urlparam'    => $this->getParamName(),
                'template'    => $this->get('template'),
                'placeholder' => $this->get('placeholder')
            ]
        ];

        return $widget;
    }
private function getSearchWidget ( FrontendFilterOptions $ frontendFilterOptions ) { $ widget = [ 'label' => [ ( $ this -> get ( 'label' ) ? : $ this -> getAttributeName ( ) ) , 'GET: ' . $ this -> getParamName ( ) , ] , 'inputType' => 'text' , 'count' => [ ] , 'showCount' => $ frontendFilterOptions -> isShowCountValues ( ) , 'eval' => [ 'colname' => $ this -> getColname ( ) , 'urlparam' => $ this -> getParamName ( ) , 'template' => $ this -> get ( 'template' ) , 'placeholder' => $ this -> get ( 'placeholder' ) ] ] ; return $ widget ; }
Get the widget information for the search field.

@param FrontendFilterOptions $frontendFilterOptions The FE options.

@return array
Get the widget information for the search field .