Filter entities by group depending on domain

Created on 28 June 2023, almost 2 years ago

Problem/Motivation

I couldn't find a way to filter the views by group (depending on domain). I looked for a way do so, but couldn't find any.

Proposed resolution

Add a "ArgumentDefaultPlugin" to the module so that we can use it in our projects.

I've already built this in my custom module. The plugin returns:

$active_id = \Drupal::service('domain_group_resolver')->getActiveDomainGroupId();
Feature request
Status

Active

Version

3.0

Component

Code

Created by

🇯🇴Jordan bassam

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

Comments & Activities

Production build 0.71.5 2024