Port og_plugin_argument_validate_group from D7

Created on 28 May 2025, about 1 month ago

Problem/Motivation

The og_plugin_argument_validate_group plugin in Drupal 7 provided Views contextual filter (argument) validation for group-related displays using Organic Groups (OG). It ensured that group id arguments passed were valid group types. I spotted this while migrating from Drupal 7 to Drupal 10.

Proposed resolution

Re-implement the validation plugin using Drupal 8+ Views plugin system. The new plugin should:

  • Validate whether the provided group ID is actually a group type
  • Include automated test coverage for the validator behavior.
📌 Task
Status

Active

Version

2.0

Component

og.module

Created by

🇨🇦Canada joelpittet Vancouver

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024