protected function getFilterTag($facetConfiguration, $keepAllFacetsOnSelection)
    {
        $tag = '';
        if ($facetConfiguration['keepAllOptionsOnSelection'] == 1 || $facetConfiguration['addFieldAsTag'] == 1 || $keepAllFacetsOnSelection) {
            $tag = '{!tag=' . addslashes($facetConfiguration['field']) . '}';
        }

        return $tag;
    }
protected function getFilterTag($facetConfiguration, $keepAllFacetsOnSelection)
    {
        $tag = '';
        if ($facetConfiguration['keepAllOptionsOnSelection'] == 1 || $facetConfiguration['addFieldAsTag'] == 1 || $keepAllFacetsOnSelection) {
            $tag = '{!tag=' . addslashes($facetConfiguration['field']) . '}';
        }

        return $tag;
    }
protected function getFilterTag ( $ facetConfiguration , $ keepAllFacetsOnSelection ) { $ tag = '' ; if ( $ facetConfiguration [ 'keepAllOptionsOnSelection' ] == 1 || $ facetConfiguration [ 'addFieldAsTag' ] == 1 || $ keepAllFacetsOnSelection ) { $ tag = '{!tag=' . addslashes ( $ facetConfiguration [ 'field' ] ) . '}' ; } return $ tag ; }
Builds the tag part of the query depending on the keepAllOptionsOnSelection configuration or the global configuration
keepAllFacetsOnSelection.

@param array $facetConfiguration
@param boolean $keepAllFacetsOnSelection
@return string
Builds the tag part of the query depending on the keepAllOptionsOnSelection configuration or the global configuration keepAllFacetsOnSelection .