- Issue created by @c_archer
- πΊπ¦Ukraine khiminrm
I think the patch is wrong.
The processor plugins will not apply to any facet with these fixes.In case of using exposed filters and trying to configure a facet filter
$facet->getWidget()
returns '' string.
When configuring facet in old way e.g. on facet create/edit page the same code returns associative array with 'type' and 'config' elements.I think we need to improve code of the supportsFacet() in such way so it will work in both cases. And we could fix this https://www.drupal.org/project/search_api_glossary/issues/3497960 π When using Facets Exposed Filters the Glossary AZ is not available Active
Trying to fix it now...
- πΊπ¦Ukraine khiminrm
Maybe it would be better to create some abstract base class for the plugins, move supportsFacet() to it and extend the class by the existing processor plugins.