Drupal is a registered trademark of Dries Buytaert

This module introduces a new feature for Webform: the ability to include Drupal Blocks as fields within your Webforms. It enables seamless integration of any Drupal Block, allowing you to render them directly in a Webform, enhancing the flexibility and functionality of your Webform implementations.

Use Case

The Webform Drupal Block Field module is particularly beneficial in scenarios where you need to integrate specific Drupal Blocks into a Webform. For example:
• Displaying the Drupal Login Block within a Webform to authenticate users as part of form submission.
• Including other custom or core Drupal Blocks, such as promotional banners, dynamic content, or custom widgets, directly in the Webform layout.

This module bridges the gap between Drupal Blocks and Webform, allowing site administrators to enhance user experiences and streamline workflows.

Requirements

To use this module, ensure that the Webform module is installed and enabled on your Drupal site, as this module extends Webform functionality.

Configuration Steps

To configure the Webform Drupal Block Field module, follow these steps:
1. Prepare the Block:
Navigate to Structure > Block Layout in your Drupal admin interface. Place the desired block (e.g., Drupal Login Block) in a hidden region.
2. Enable the Module:
Install and enable the Webform Drupal Block Field module via the Drupal admin interface or using Composer and Drush.
3. Configure the Webform:
• Open the Webform where you want to include the Drupal Block.
• Add a new Webform field and select the option provided by this module (e.g., “Drupal Block Field”).
• Specify the Block ID in the field settings. The Block ID corresponds to the block placed in the hidden region during Step 1.

Activity

Total releases
2
First release
Dec 2024
Latest release
1 year ago
Release cadence
0 days
Stability
100% stable

Releases

Version Type Release date
1.0.2 Stable Dec 7, 2024
1.0.1 Stable Dec 7, 2024