Commit 0b4b761e authored by ericclaeren's avatar ericclaeren Committed by borisson_

Issue #2909115 by borisson_, ericclaeren, StryKaizer: Add prefix/suffix module to readme.md

parent 03949b9c
......@@ -130,6 +130,8 @@ EXTENSION MODULES
- https://www.drupal.org/project/entity_reference_facet_link
Provides a link the a facet trough an entity reference field.
- https://www.drupal.org/project/facets_prefix_suffix
Provides a plugin to configure a prefix/suffix per result.
FAQ
---
......@@ -151,3 +153,9 @@ A: Facets use the same limitations as the query object passed, so when using
views, add a filter to the view to limit to one language.
Otherwise, this is solved by adding a `hook_search_api_query_alter()` that
limits the results to the current language.
Q: I would like a prefix/suffix for facet result items.
A: If you just need to show text, use
https://www.drupal.org/project/facets_prefix_suffix.
However if you need to include html you can use
hook_preprocess_facets_result_item().
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment