src/FieldHandlers/FieldHandler.php
public function getSearchOptions(array $options = []) : array
    {
        $result = [];

        $options = array_merge($this->defaultOptions, $this->fixOptions($options));

        if ($options['fieldDefinitions']->getNonSearchable()) {
            return $result;
        }

        $options['label'] = empty($options['label']) ? $this->renderName() : $options['label'];

        $searchOptions = $this->config->getProvider('searchOptions');
        $searchOptions = new $searchOptions($this->config);
        $result = $searchOptions->provide(null, $options);

        return $result;
    }
public function getSearchOptions(array $options = []) : array
    {
        $result = [];

        $options = array_merge($this->defaultOptions, $this->fixOptions($options));

        if ($options['fieldDefinitions']->getNonSearchable()) {
            return $result;
        }

        $options['label'] = empty($options['label']) ? $this->renderName() : $options['label'];

        $searchOptions = $this->config->getProvider('searchOptions');
        $searchOptions = new $searchOptions($this->config);
        $result = $searchOptions->provide(null, $options);

        return $result;
    }
public function getSearchOptions ( array $ options = [ ] ) : array { $ result = [ ] ; $ options = array_merge ( $ this -> defaultOptions , $ this -> fixOptions ( $ options ) ) ; if ( $ options [ 'fieldDefinitions' ] -> getNonSearchable ( ) ) { return $ result ; } $ options [ 'label' ] = empty ( $ options [ 'label' ] ) ? $ this -> renderName ( ) : $ options [ 'label' ] ; $ searchOptions = $ this -> config -> getProvider ( 'searchOptions' ) ; $ searchOptions = new $ searchOptions ( $ this -> config ) ; $ result = $ searchOptions -> provide ( null , $ options ) ; return $ result ; }
Get options for field search

This method prepares an array of search options, which includes
label, form input, supported search operators, etc.  The result
can be controlled with a variety of options.

@param  array  $options Field options
@return array           Array of field input HTML, pre and post CSS, JS, etc
Get options for field search