Support contextual filter argument in field widget

Created on 27 November 2023, 12 months ago

Problem/Motivation

Contextual arguments on views used within an entity browser, such as the contextual filter "content ID from url", do not work.

Proposed resolution

Refer to solution provided in Entity Browser issue # 2790951 Provide for contextual filter argument option on field widget Needs work .

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇨🇦Canada ydahi Waterloo, Canada

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @ydahi
  • 🇨🇦Canada ydahi Waterloo, Canada

    Patch incoming...

  • 🇨🇦Canada ydahi Waterloo, Canada

    This patch adds an option to the field widget that lets them specify the url arguments using a token that will be based to the view to populate the contextual filter.

    For example: tested with Group module to pass Group ID to view to contextually filter for group nodes.

  • Open on Drupal.org →
    Core: 10.1.x + Environment: PHP 8.1 & MySQL 8
    last update 12 months ago
    Waiting for branch to pass
Production build 0.71.5 2024