- π³π±Netherlands e.ruiter
The patch in #26 works well but not with the 2.0.x branch. Attached patch makes it work with version 2
- π«π·France Yonka Nevache
Hi, patch #26 seems to work well. But it is conflicting with the subgroup module β .
The subgroup group-content plugin$content_entity_type_id
isgroup
, which is overridden by line 119$tokens['group_content']['group'] = [ 'name' => t('Group'), 'type' => 'group', ];
- π©πͺGermany Hydra
I had a similar issue and created https://www.drupal.org/project/group_relationship_tokens β for that, maybe this could help here.
- πΊπΈUnited States jnicola
Chucking this in a note here for myself and others, the latest patch doesn't work with 2.x as path.alias_manager has changed to path_alias.manager (see the _ and . moved).
- πΊπΈUnited States jnicola
Alrighty, looks like this patch fixes things for us in 2.2
Specifically, the service changed, and then $group_relationship->getEntityTypeId() no longer returns the referenced entity type ('node' for example) it now just returns that it is a Group Relationship. Booo.
- π§πͺBelgium keszthelyi Brussels
#31 is working for us, however there are two dpm() calls left in the patch. Here's the same patch without those dpm()s.