public function getSuggestAdditionalTopResultsFields($defaultIfEmpty = [])
    {
        $additionalTopResultsFields = $this->getValueByPathOrDefaultValue('plugin.tx_solr.suggest.additionalTopResultsFields', '');
        if ($additionalTopResultsFields === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $additionalTopResultsFields, true);
    }
public function getSuggestAdditionalTopResultsFields($defaultIfEmpty = [])
    {
        $additionalTopResultsFields = $this->getValueByPathOrDefaultValue('plugin.tx_solr.suggest.additionalTopResultsFields', '');
        if ($additionalTopResultsFields === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $additionalTopResultsFields, true);
    }
public function getSuggestAdditionalTopResultsFields ( $ defaultIfEmpty = [ ] ) { $ additionalTopResultsFields = $ this -> getValueByPathOrDefaultValue ( 'plugin.tx_solr.suggest.additionalTopResultsFields' , '' ) ; if ( $ additionalTopResultsFields === '' ) { return $ defaultIfEmpty ; } return GeneralUtility :: trimExplode ( ',' , $ additionalTopResultsFields , true ) ; }
Returns additional fields for the top results

plugin.tx_solr.suggest.additionalTopResultsFields

@param array $defaultIfEmpty
@return array
Returns additional fields for the top results