src/View/Helper/SearchHelper.php
protected function _defaultInput($param)
    {
        $input = $param->formInputConfig();
        $name = $param->config('name');
        $input += [
            'type' => 'text',
            'required' => false,
            'label' => Inflector::humanize(preg_replace('/_id$/', '', $name)),
        ];
        if (!$param->visible()) {
            $input['type'] = 'hidden';
        }

        return $input;
    }
protected function _defaultInput($param)
    {
        $input = $param->formInputConfig();
        $name = $param->config('name');
        $input += [
            'type' => 'text',
            'required' => false,
            'label' => Inflector::humanize(preg_replace('/_id$/', '', $name)),
        ];
        if (!$param->visible()) {
            $input['type'] = 'hidden';
        }

        return $input;
    }
protected function _defaultInput ( $ param ) { $ input = $ param -> formInputConfig ( ) ; $ name = $ param -> config ( 'name' ) ; $ input += [ 'type' => 'text' , 'required' => false , 'label' => Inflector :: humanize ( preg_replace ( '/_id$/' , '' , $ name ) ) , ] ; if ( ! $ param -> visible ( ) ) { $ input [ 'type' ] = 'hidden' ; } return $ input ; }
Generates default input for parameter

@param BaseParameter $param Form parameter.
@return array
Generates default input for parameter