Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Viewfield Argument Helper

133 sites No security coverage Drupal 9–11
View on drupal.org

This module helps content editors by providing helpful suggestions for contextual arguments when embedding views. It displays a list of available entities based on the view's configuration, making it easier to find and enter the correct IDs for filtering.

Provides a helper/info widget for the Viewfield arguments textfield.

Making embedded Views can be tricky for content editors, particularly if they need to add contextual filtering. Viewfield exposes the contextual arguments as a text field, requiring the user to compose these arguments properly. For example "204,95/72" might mean pass (filter by) terms 204 OR 95 on the first contextual argument and node ID 72 on the second. But you have to know:

- there are two contextual filters configured for this View display
- the first is a term (which vocabularies?)
- the second is a node (which bundles?)
- how to figure out the term IDs and node IDs

In its first iteration, this module attempts to lookup available options (i.e., entities) for the contextual arguments, based on how they're configured in the View, and expose a list of options to the user. The user still has to compose the contextual argument string, but at least they don't have to hunt as hard for what tid to use. A contextual argument composition wizard UI is on the long term roadmap.

Since this module uses, in part, the argument validation settings to generate a list of entities, setting good validation on the contextual argument will limit the lookup table to relevant filter items. For instance, if you intend to limit a taxonomy tid argument to a specific taxonomy, setting up validation for that vid will restrict entities in the lookup table to that vid.

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
2
Tracked since
Feb 2025
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 2
Maintenance
Slowing

Releases

Version Type Core Release date
1.3.3 Stable 9–11 Jul 2, 2025
1.3.2 Stable 9–11 Feb 12, 2025