src/View/Helper/SearchHelper.php
protected function _applyAutocompleteOptions(&$input, $param)
    {
        if ($param instanceof AutocompleteParameter) {
            $input['data-url'] = $param->autocompleteUrl();
            $input['class'] = 'autocomplete';
            $input['data-name'] = $param->config('name');
        }

        return $input;
    }
protected function _applyAutocompleteOptions(&$input, $param)
    {
        if ($param instanceof AutocompleteParameter) {
            $input['data-url'] = $param->autocompleteUrl();
            $input['class'] = 'autocomplete';
            $input['data-name'] = $param->config('name');
        }

        return $input;
    }
protected function _applyAutocompleteOptions ( & $ input , $ param ) { if ( $ param instanceof AutocompleteParameter ) { $ input [ 'data-url' ] = $ param -> autocompleteUrl ( ) ; $ input [ 'class' ] = 'autocomplete' ; $ input [ 'data-name' ] = $ param -> config ( 'name' ) ; } return $ input ; }
Set autocomplete settings for field

@param array $input Field options.
@param BaseParameter $param Form parameter.
@return array
Set autocomplete settings for field