Attempting to make aliases work in group 2.x. This doesn't work and throws an error when trying to view the page, specifically:
The website encountered an unexpected error. Try again later.
Drupal\Component\Plugin\Exception\PluginNotFoundException: The "group_relationship_type" entity type does not exist. in Drupal\Core\Entity\EntityTypeManager->getDefinition() (line 142 of core/lib/Drupal/Core/Entity/EntityTypeManager.php).
Drupal\Core\Entity\EntityTypeManager->getHandler('group_relationship_type', 'storage') (Line: 195)
Drupal\Core\Entity\EntityTypeManager->getStorage('group_relationship_type') (Line: 26)
Drupal\group_relationship_tokens\GroupRelationshipTokensService->getConfiguredEntityTypes() (Line: 22)
group_relationship_tokens_token_info() (Line: 53)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler::Drupal\hook_event_dispatcher\{closure}(Object, 'group_relationship_tokens') (Line: 396)
Drupal\Core\Extension\ModuleHandler->invokeAllWith('token_info', Object) (Line: 68)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAllWith('token_info', Object) (Line: 60)
Drupal\hook_event_dispatcher\HookEventDispatcherModuleHandler->invokeAll('token_info') (Line: 40)
Drupal\token\Token->getInfo() (Line: 121)
Drupal\token\Token->getGlobalTokenTypes() (Line: 184)
Drupal\token\Token->getInvalidTokensByContext(Array, Array) (Line: 271)
token_element_validate(Array, Object)
At the very least update module description to say what it is compatible with and add a composer.json file speciify it is only compatible with group 1.x
On the more fancy side of things... make a 2.0.x version and make it compatible with group 2.x I'd be possibly interested in tackling that.
Active
1.0
Code