Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to send an invitation programatically? I couldn't find an obvious way to do this in the code. Thanks.
Comments
Comment #1
areynolds CreditAttribution: areynolds commentedFrom a cursory glance, it seems that there isn't a single function you could use to create an invite. I need to send invites programatically, so hopefully I come up with some solution, but until then, has anyone else tackled the problem in the last two years?
Comment #2
rimu CreditAttribution: rimu commentedIn the 7.x-4.x version of this module it's all about entities. You can create a new invitation (with email) by doing something like this
Comment #3
renatogVery good @rimu.
Your answer can help many users.
Thank you very much.
Comment #4
renatogComment #5
renatog