Webform Node Element is a module that allows you to include node content in a webform without using the PHP input filter.
Drupal 8:
After installation, a node element is available in the webform UI and this allows you to specify the id and display mode of the entity to be displayed.
To enable you to dynamically set the nid or the display mode, an event is dispatched prior
to rendering the element. Subscribe to the WebformNodeElementPreRender::PRERENDER event, and call the setNid() and/or setDisplayMode() methods. See the webform_node_element_example module for a working example.
Drupal 7:
After installation, a node component is available in the webform UI and this allows you to specify the id of the node to be display and the display mode (teaser or full).
If the ctools module is present, node selection automatically turns into an auto-complete text field.
Project information
- Project categories: Content editing experience, Content display, Developer tools
310 sites report using this module
- Created by cafuego on , updated
Stable releases for this project are covered by the security advisory policy.
There are currently no supported stable releases.



