Similar to how MWNamespace was replaced with a NamespaceInfo service, I propose that MWGrants be replaced with a GrantsInfo service.
The different static MWGrants methods use:
- The LanguageFactory service
- The LinkRenderer service
- The ContentLanguage service (which is just the LanguageFactory with the LanguageCode config value)
The services can be injected to the new GrantsInfo class, as well as a ServiceOptions object with the needed configuration values