Facet link formatter
Categories
Component ID
2215385
Component name
Facet link formatter
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
1547
Component created
Component changed
Component body
This module provides a new formatter for Entityreference and Taxonomy fields.
#D8: For Drupal 8 use Entity reference facet link
Display entities (or taxonomy terms) as links to a list of contents with facets.
The classic beahviour is that taxonony terms fields, or entityreference fields,
are displayed as links to entity:
- taxonomy/term/%tid
- node/%nid
- and so on
With this module links to entity are displayed as links to a view/list with a preselected
active facet, like this:
my-custom-list?f[0]=field_tags:10
In this example:
- my-custom-list is the path where facets are displayed
- field_tags is the field for the facet
- 10 is the entity id
This module is very useful with Rabbit Hole or when you have to hide the default path for taxonomy terms.
How to use
- download and enable this module as usual
- visit "manage display" page (nodes, terms, users, files, every fieldable entity)
- configure formatter with the URL to your custom view, or path
Dependencies
- Taxonomy (core)
- FacetAPI
- Entity Reference
