src/FieldHandlers/Provider/SearchOptions/AbstractSearchOptions.php
protected function getBasicTemplate(string $type) : string
    {
        $view = $this->config->getView();
        $result = $view->Form->control('{{name}}', [
            'value' => '{{value}}',
            'type' => $type,
            'label' => false
        ]);

        return $result;
    }
protected function getBasicTemplate(string $type) : string
    {
        $view = $this->config->getView();
        $result = $view->Form->control('{{name}}', [
            'value' => '{{value}}',
            'type' => $type,
            'label' => false
        ]);

        return $result;
    }
protected function getBasicTemplate ( string $ type ) : string { $ view = $ this -> config -> getView ( ) ; $ result = $ view -> Form -> control ( '{{name}}' , [ 'value' => '{{value}}' , 'type' => $ type , 'label' => false ] ) ; return $ result ; }
Get basic template for a given type

@param string $type Form input type
@return string
Get basic template for a given type