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.
Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module provides a plugin for Views 3.x that allows you to grab a variable in any one of the superglobals and use them as a default value for a contextual filter. The most commonly used superglobal would be $_GET, which would allow you to pull any variables that have been passed via the URL into the contextual filter.
Example Use Cases
- The Search API and Facet API modules both pass their filter values via the URL. This module would allow you grab those values via $_GET and use them in a secondary view, such as a 'Suggested Results' block or some sort of related content.
It currently supports all of the superglobals and can traverse any number of nested arrays or objects.
Project information
- Created by ryan.armstrong on , updated