Active
Project:
Domain Group
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2023 at 13:21 UTC
Updated:
28 Jun 2023 at 13:22 UTC
Jump to comment: Most recent
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.
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();
Comments
Comment #2
bassam commented