Provides tokens for facet-related data.

Features

The module adds new global token types:

  • facet: Tokens related to facets.
  • first-facet: Tokens related to the first active facet.
  • last-facet: Tokens related to the last active facet.

Requirements

This module requires the Facet API module and the Token module.

Examples

  • [facet:field_tags:value] - the mapped values of the field_tags facet.
  • [facet:field_tags:raw] - the raw values of the field_tags facet.
  • [first-facet:value] - the mapped values of the first active facet.
  • [first-facet:raw] - the raw values of the first active facet.
  • [first-facet:value:0] - the first mapped value of the first active facet.
  • [first-facet:value:1] - the second mapped value of the first active facet.
  • [first-facet:value:-1] - the last mapped value of the first active facet.
  • [last-facet:value] - the mapped values of the last active facet.
  • [last-facet:raw] - the raw values of the last active facet.
Short name
facets_tokens
Supporting organizations