The job of the URL processor is to take query parameters from the URL, process those so that they can be applied as query filters.

Porting the URL processor includes:

- Detecting if we are on a searcher page
- Detecting the query parameters
- Fetching and parsing the parameters
- Returning the parameters so they can be used as query filters.

D8 port should/could potentially include

- Make URL processors plugins wielding the plugin systems
- Use the Symfony/D8 HttpFoundation / Request class.
- Include support to deal with pretty paths as well as raw query parameters.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

FredericoT’s picture

As discussed during the Facet API codesprint at DrupalCon Amsterdam 2014 this patch provides a skeleton that describes what the D7 version used to handle. All functions and comments in this class have currently been copy/pasted verbatim and then tweaked to provide a starting point. Everything in this patch is subject to change.

  • mikeker committed ab89981 on 8.x-1.x authored by Frederico
    Issue #2348825 by Frederico | netsensei: Port the URL processor.
    
borisson_’s picture

Patched Frederico's patch to use the correct Adapter class, (\Drupal\facetapi\Adapter, not FacetapiAdapter)

jurcello’s picture

Status: Active » Closed (won't fix)

This issue is based on the old architecture, and therefor should be closed.