Experimental project

This is a sandbox project, which contains experimental code for developer use only.

https://git.drupalcode.org/sandbox/Fengtan-3298423

Replaces facet values based on a given mapping.

After enabling the module (along with facets):

  • Create or edit your facet at /admin/config/search/facets/<my-facet>/edit
  • Enable the processor Replace display values
  • Provide a mapping, e.g.
    en|English
    fr|French
    
  • Now the facet will map the values you provided (e.g. if the indexed value is en then it will show up as English)

This module has been incorporated into the facets module (see #3298428: Add replacement processor).

Supporting organizations: 

Project information