public function getSearchTrustedFieldsArray($defaultIfEmpty = ['url'])
    {
        $result = $this->getValueByPathOrDefaultValue('plugin.tx_solr.search.trustedFields', '');

        if (trim($result) === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $result);
    }
public function getSearchTrustedFieldsArray($defaultIfEmpty = ['url'])
    {
        $result = $this->getValueByPathOrDefaultValue('plugin.tx_solr.search.trustedFields', '');

        if (trim($result) === '') {
            return $defaultIfEmpty;
        }

        return GeneralUtility::trimExplode(',', $result);
    }
public function getSearchTrustedFieldsArray ( $ defaultIfEmpty = [ 'url' ] ) { $ result = $ this -> getValueByPathOrDefaultValue ( 'plugin.tx_solr.search.trustedFields' , '' ) ; if ( trim ( $ result ) === '' ) { return $ defaultIfEmpty ; } return GeneralUtility :: trimExplode ( ',' , $ result ) ; }
Returns the trusted fields configured for the search that do not need to be escaped.

@param array $defaultIfEmpty
@return array
Returns the trusted fields configured for the search that do not need to be escaped .