user_reference_invite
10 sites
No security coverage
Enhances Entity Reference fields with email invitation workflows. Allows content editors to select existing users OR invite new users via email - invited users are automatically added to the reference field after registration or login.
Perfect for: Team management, project collaboration, group memberships, event management, and any scenario where you need to invite users to specific content entities.
Key Features
- Dual Selection Mode: Select existing users OR invite via email in the same widget
- Automatic Attachment: Invited users auto-added to field after registration/login
- Secure Tokens: SHA-256 hashed tokens with configurable expiration (30-90 days)
- Customizable Email Templates: Full control via Drupal's user account settings with rich token support
- Admin Interface: Manage all invitations at
/admin/people/invitations - Context-Specific Roles: Automatically assign roles based on invitation context
- Entity Agnostic: Works with any entity type and user reference field
Quick Start
- Install and enable the module:
drush en user_reference_invite - Configure permissions at
/admin/people/permissions - Set up email templates at
/admin/config/people/accounts - On any User Reference field, select "User Reference with Invite" as the widget
- Start inviting users!
Requirements
- Drupal 11.x
- Core Field and User modules
- Recommended: Token module (for token browser in email templates)
- Optional: HTML Mail, Swiftmailer, or Symfony Mailer (for enhanced emails)
Resources
- Usage Guide - See full documentation below
- Configuration - Settings and email templates
- API Documentation - Programmatic usage
- Issue Queue - Report bugs or request features
Compatible with Drupal 11 | GPL-2.0-or-later License