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();

Comments

bassam created an issue. See original summary.

bassam’s picture

Component: Documentation » Code