Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
At this moment we use the raw value in the url.
We should make this pluggable so, on a per-facet base, we can swap this into a custom Coder to support e.g. slugified taxonomy terms, or pathauto based taxonomy terms
Comment | File | Size | Author |
---|---|---|---|
#11 | create_a_pluggable-2837835-11.patch | 16.02 KB | borisson_ |
Comments
Comment #2
StryKaizerComment #3
StryKaizerInitial start, discoverable plugin system created and a non-working configuration form on a per-facet base (only visible when pretty paths is configured for the given facet source).
Still todo
- interface might still change, non-working now
- use actual plugin implementation
- selected coder still needs to be stored on the facets_facet entity config object
Comment #4
StryKaizerComment #5
StryKaizerComment #6
StryKaizerWorking (temporary) Coder plugin which prepends the raw value with "banana-" now available, next to the default (raw value) coder.
Comment #7
StryKaizerTaxonomy coder from #2836122: Port D7 taxonomy coder now ported to use coder plugin system.
Comment #8
StryKaizerComment #10
StryKaizerComment #11
borisson_Why do we need this? I think this can go. Actually, I think the entire base class can go.
Comment #12
StryKaizerYou are absolutely right, thanks!
Comment #14
StryKaizerComment #15
StryKaizer