Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Contact Formatter

Security covered Under active development 2,309 sites

Part of the Contact ecosystem · 27 projects

This module adds a way to display a contact form using an entity reference field. It allows you to embed contact forms directly within other content entities.

This module adds a field formatter to display a rendered Contact form from Drupal 8 core's Contact module using an entity reference field on an entity.

Contact forms are entities, and thus fieldable in Drupal 8. However, the core functionality does not include a field formatter to display the forms. This module provides that functionality.

Installation:

  • Ensure core's Contact module is enabled.
  • Install this module as you normally would.
  • Add a Reference field of type other to your content type or entity.
  • Select Contact form from the "Type of item to reference" select list. Hint: It's under "Configuration", not Content.
  • Set the default values if so desired and save.
  • Go to your entity's Manage form display screen and you can display the field to your administrators using Autocomplete, Checkboxes, or a Select.
  • Go to your entity's Manage display screen and choose Rendered Contact Form for the format.
  • You are now ready to add contact forms to your entity!

Use in combination with Paragraphs and Inline Entity Form to allow your admins to quickly and easily add Contact forms where ever they need to!

Drupal 8–11

Ask your assistant about Contact Formatter

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

Depends on

Dependencies of the latest stable release

  • contact Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
3
Tracked since
Apr 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Release Timeline

Releases

Version Type Core PHP Release date
2.0.4 Stable 8–11 Apr 18, 2024
2.0.3 Stable 8–11 Apr 14, 2024
2.0.2 Stable 8–9 Apr 14, 2024