Static Facet Values
Security covered
This module allows you to customize the facet values that are displayed by the Facets module. You can define your own values or alter existing ones using custom services.
Static Facet Values enables you to rewrite facet values provided by the Facets module with - more or less - static values.
Features
The module provides a Facets processor plugin for selecting custom services that generates custom result sets for a facet.
Additional Requirements
Post-Installation
After installing the module you need to create at least one custom service class implementing \Drupal\static_facet_values\StaticFacetValuesServiceInterface. The custom service is responsible for creating the new/altered facet results.
See this example module for an implementation example.